RE: [PHP] stopping back button
| From: | Jeff Demel | Date: | Mon, 30 Oct 2000 17:01:55 +0000 |
| Subject: | RE: [PHP] stopping back button | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-22706@lists.php.net to get a copy of this message | ||
Yeah, I didn't think of that. The only drawback is if the user knows that
you can use the keyboard's backspace key (IE) when the back button is not
available. I think there's a keyboard command in Netscape that does the
same thing, although I don't know what it is (maybe "ALT+<-" ?). Maybe use
META Refresh or some code to force the page to refresh and not come out of
cache? Not really sure if that would work.
-Jeff
-----Original Message-----
From: mohrt@ispi.net [mailto:mohrt@ispi.net]On Behalf Of Monte Ohrt
Sent: Monday, October 30, 2000 10:46 AM
To: Jeff Demel
Subject: Re: [PHP] stopping back button
This may not work 100% since browsers might display a locally cached
version of the previous page. One possible preventative measure would be
to open the application in a new browser window without the toolbar
buttons.
Jeff Demel wrote:
>
> To tell you the truth, you shouldn't disable the back button even if you
> could, which I'm not sure you can. Try using session vars, cookies, or
> something like that for checking where your user is in the process and
> directing them to the correct form.
>
> HTH
>
> -Jeff
>
> -----Original Message-----
> From: Road Runner [mailto:davisr004@hawaii.rr.com]
> Sent: Monday, October 30, 2000 4:10 AM
> To: php-general@lists.php.net
> Subject: [PHP] stopping back button
>
> I have a script that has several forms that return to the same file with
> PHP_SELF How can I keep users from using the back button and re-entering
> data into a form that they have already used once?
>
> thanks in advance,
>
> rodney
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/