note 56690 added to function.setcookie

From: Date: Mon, 12 Sep 2005 18:05:45 +0000
Subject: note 56690 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-95061@lists.php.net to get a copy of this message
I am having a problem trying to use cookies. I can set the cookies fine and when I go to a page initially all is still well. However, when I click the back button on the browser, I get the "page can not be displayed without posting the data" When I click the refresh button on the browser the page is display for about a second and I can see the values in the form, but then the page appears to submit itself. The address line at the top of the browser is pointing to page where I initially clicked on the back button. Any Ideas? ---- Manual Page -- http://www.php.net/manual/en/function.setcookie.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+56690 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56690&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56690&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56690&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56690&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56690&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56690&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+56690&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#95061) next »