Page 1 of 1

Headers, content-disposition and HTTPS+IE6

Posted: Thu Mar 18, 2004 4:27 am
by mchaggis
Hi,

I have a export to csv script, which works perfectly on all HTTP connections under all browsers, using the following headers:

Code: Select all

Header("Content-Disposition: attachment; filename=something.csv");
Header("Connection: Close");
Header("Content-Type: text/plain");
When this page is launched, you get the nice Open or Save dialogue, with the Filename displaying as desired.

How, ever, in IE6 over HTTPS, this does not happen... All that happens is that te Filename displayed is the full URL, and Content Type is blank. On clicking on either open or save you get the nice friendly message that the server could not be contacted.

Am a little confused, as it seems that IE6 is choosing to ignore whats been sent back 2 it?

Are there some extra headers I need to pass?

Posted: Thu Mar 18, 2004 5:50 am
by JAM
Of interest?
http://bugs.php.net/bug.php?id=16173
...and perhaps...
http://support.microsoft.com/default.as ... -us;316431

I didn't look more into it myself, but I've seen the issue before.