Hi,
The code is like this:
- Code: Select all
port=80
MyGdViewer.LockControl = true;
MyGdViewer.DisplayFromURL(location.hostname, location.pathname + "?Action=DownloadTempFile&Nada=" + new Date().getTime(), port);
MyGdViewer.LockControl = false;
The url result is like: "
http://dev/myWebsite/Scan.aspx?Action=DownloadTempFile&Nada=75478552114"
The request doesn't send any header or cookie. The response has 0 size.
If I put the same URL in a iframe, the download is perfect (the request is good, with headers and cookies).
The question is why the request of DisplayFromURL on IE7 is send without headers.
If you don't have an answer (what is acceptable

), what about a workaround? Can I download the PDF using XMLHTTP and load the body into GDViewer as string? Do you have any other idea?
Thanks,
Sami