Reply to Re: [PHP] Pages Expiring

Your name:

Reply:


Posted by "Gustav Wiberg" on 10/06/44 11:36

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@comcast.net>
To: <php-general@lists.php.net>
Sent: Friday, January 06, 2006 1:40 AM
Subject: [PHP] 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
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация