note 23508 added to function.header
| From: | dadarden_nospamola at iti2 dot nospamola dot net | Date: | Fri, 19 Jul 2002 21:38:40 +0000 |
| Subject: | note 23508 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33324@lists.php.net to get a copy of this message | ||
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.
--
http://www.php.net/manual/en/function.header.php
http://master.php.net/manage/user-notes.php?action=edit+23508
http://master.php.net/manage/user-notes.php?action=delete+23508
http://master.php.net/manage/user-notes.php?action=reject+23508