note 48060 added to function.header
| From: | Harry at osu1 dot php dot net | Date: | Fri, 10 Dec 2004 06:26:14 +0000 |
| Subject: | note 48060 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-81627@lists.php.net to get a copy of this message | ||
Regarding IE choking on PHP-based "downloads" over SSL: problem is that you set
"no-cache" and Internet Explorer interprets this to mean "never save to disk. EVER.
Even if user explicitly asks for it.". It doesn't distinguish between caching stuff and
user-requested save actions.
Dumb, I know. There's at least 3 or 4 Microsoft KB articles related to the issue; google
"internet explorer ssl download fails" for more than you ever wanted to know.
Try removing the no-cache directive. And, if like I found, that *STILL* doesn't fix it, check
to see if you are using PHP sessions anywhere - if you are, it also sets no-cache, so you need to
use session_cache_limiter() to get rid of it there.
I hope this note saves someone the 2 days of hair-pulling I went through.
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48060
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48060&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48060&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48060&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48060&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48060&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48060&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48060&report=yes
Search -- http://master.php.net/manage/user-notes.php