Re: [PHP4BETA] Browser BACK/Forward Button with Form
| From: | Sascha Schumann | Date: | Sat, 01 Jan 2000 18:29:40 +0000 |
| Subject: | Re: [PHP4BETA] Browser BACK/Forward Button with Form | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8768@lists.php.net to get a copy of this message | ||
On Fri, Dec 31, 1999 at 08:46:55PM +0100, Tilli Weissenberger wrote:
> On some forms I created the user gets the following error message, when
> trying to use the BACK or FORWARD buttons on the browser:
>
> 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.
>
> How do I have to write forms in order to avoid this error message?
Tell the user not to use back/forward buttons. I know it is
kind of annoying, if you have to educate your users, but it
is usually the only working method to ensure that the data on
the client side and on the server side is in a consistent
state (I presume you are using sessions).
--
Regards,
Sascha Schumann
Consultant