note 64582 deleted from function.header by bjori
| From: | bjori@php.net | Date: | Wed, 19 Apr 2006 02:49:24 +0000 |
| Subject: | note 64582 deleted from function.header by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-108479@lists.php.net to get a copy of this message | ||
Note Submitter: hervard at gmail dot com
Reason: integrated
----
A small update to my code listed below:
By setting the expiry date in the future, Internet Explorer would cache session variables, which
could have some undesired results when hitting the back button (it did for me, anyway). Setting the
expiry date in the past fixes this.
Change the $offset variable to the following, which sets the expiry date to one day ago:
<?php
$offset = 60 * 60 * 24 * -1;
?>
Firefox and Opera did not have this problem. Don't you just love Internet Explorer?