note 25965 added to ref.session
| From: | art at zollerwagner dot com | Date: | Sun, 13 Oct 2002 05:45:54 +0000 |
| Subject: | note 25965 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38003@lists.php.net to get a copy of this message | ||
If you're using sessions (certainly with session.use_trans_sid, and probably in the manual
case, too), as far as I can tell you can not use code like this:
<input type="button" value="Edit" onClick="history.go(-1);">
I'm guessing that calling the history object doesn't give PHP an HREF to latch onto.
If you do use the history object to move back or forward between pages, the browser (at least IE
5.0) will give a message like:
Warning: Page has Expired The page you requested was created using information you submitted in a
form. This page is no longer available. As a security precaution, Internet Explorer does not
automatically resubmit your information for you.
If you refresh, your data may be one step older than the most recent.
--
http://www.php.net/manual/en/ref.session.php
http://master.php.net/manage/user-notes.php?action=edit+25965
http://master.php.net/manage/user-notes.php?action=delete+25965
http://master.php.net/manage/user-notes.php?action=reject+25965