note 37589 deleted from function.header by kennyt
| From: | kennyt@php.net | Date: | Sun, 18 Jul 2004 18:06:55 +0000 |
| Subject: | note 37589 deleted from function.header by kennyt | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-73561@lists.php.net to get a copy of this message | ||
Note Submitter: Leedar ( agbfreak@yahoo.com.au )
----
There is a form bug in IE6 when using PHP sessions which causes the loss of filled out information
after leaving the form page (by any means, including submitting). This can be resolved with the HTTP
1.1 header "Cache-control: private".
Example:
<?php
// Make sure not to output any of the page before your HTTP headers
session_start();
header("Cache-control: private");
?>