note 23508 deleted from function.header by tularis
| From: | tularis@php.net | Date: | Fri, 04 Apr 2014 11:32:26 +0000 |
| Subject: | note 23508 deleted from function.header by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-199176@lists.php.net to get a copy of this message | ||
Note Submitter: dadarden_nospamola at iti2 dot nospamola dot net
----
If you use session_start() at the top of a php script that also has header() calls later in the
script for a file download then you must add some form of cache control for IE to work properly. I
use header('Cache-Control: public'); immediately after the code at the top of the script
with the session_start() call that verifies that I have a properly logged in user. That allows the
header() and fpassthru() calls to download a file later in the script using IE 5.5 SP2.