Hi there!
Yes, actually there is a "dirty" solution to this.
You can use javascript to skip certain pages in historylist.
window.document.replace('page1.php');
window.document.location = 'page2.php';
window.document.location.replace('page3.php');
The only page that would exist in the history list is now page2.php (and
this means if you hit the back button, the only page that will display in
this case would be page2.php) In your case you could goto the page with form
with a window.document.location.replace('formpage.php') - statement..
Hope this was helpful! :-)
/G
http://www.varupiraten.se/
----- Original Message -----
From: "Ben Miller" <benipmiller@xxxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Friday, January 06, 2006 1:40 AM
Subject: Pages Expiring
When using forms with PHP sessions, hitting the back button results in
WARNING: Page has Expired
I am wondering if there is a work around for this so that it (IE, in this
case) resubmits the form information and displays the previous page.
Any ideas?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php