note 48060 deleted from function.header by danbrown
| From: | danbrown@php.net | Date: | Sun, 07 Dec 2008 18:29:26 +0000 |
| Subject: | note 48060 deleted from function.header by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147828@lists.php.net to get a copy of this message | ||
Note Submitter: Harry
----
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.