Re: back button and forms
| From: | jabber@raditha.com | Date: | Wed, 20 Aug 2003 17:37:24 +0000 |
| Subject: | Re: back button and forms | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-160213@lists.php.net to get a copy of this message | ||
Hi,
One of the problems Tim, is that POST is not usualy cached on the client side. Even proxies seem to respect that rule and do not cache the page if the method was a POST. If you are sending non critical data and the volume is small you might want to consider a switch from POST to GET for some of the pages at least.
all the best
Tim Winters wrote:
Hello, I have a series of forms set over a few pages. The entries are stored in session vars and the whole shebang is written to mySQL via PHP at the end of the series of forms. When the user hits the back button an error message comes up with the following 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. To resubmit your information and view this Web page, click the Refresh button. Is there any way to avoid this from happening? Thx Tim Winters Creative Development Manager Sampling Technologies Incorporated 1600 Bedford Highway, Suite 212 Bedford, Nova Scotia B4A 1E8 www.samplingtechnologies.com webmaster@samplingtechnologies.com csnm@samplingtechnologies.com Office: 902 450 5500 Cell: 902 430 8498 Fax:: 902 484 7115-- Raditha Dissanayake ------------------------------------------------------------- http://www.radinks.com/sftp/ Lean and mean Secure FTP applet with Graphical User Inteface. just 150 Kilo Bytes