note 64582 added to function.header

From: Date: Wed, 19 Apr 2006 01:21:25 +0000
Subject: note 64582 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-108469@lists.php.net to get a copy of this message
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? ---- Server IP: 210.55.230.121 (proxied: 202.89.36.242 1.0 proxy4.akl1.maxnet.net.nz:8080 (Squid/2.4.STABLE2)) Probable Submitter: 203.97.52.98 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.header.php Edit -- http://master.php.net/note/edit/64582 Del: integrated -- http://master.php.net/note/delete/64582/integrated Del: useless -- http://master.php.net/note/delete/64582/useless Del: bad code -- http://master.php.net/note/delete/64582/bad+code Del: spam -- http://master.php.net/note/delete/64582/spam Del: non-english -- http://master.php.net/note/delete/64582/non-english Del: in docs -- http://master.php.net/note/delete/64582/in+docs Del: other reasons-- http://master.php.net/note/delete/64582 Reject -- http://master.php.net/note/reject/64582 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#108469) next »