Re: Disabling Browser "BACK" button
| From: | Petre | Date: | Wed, 31 Jul 2002 18:12:17 +0000 |
| Subject: | Re: Disabling Browser "BACK" button | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-110552@lists.php.net to get a copy of this message | ||
Exactly.
The only way I've seen that this can be prevented is if the form action is PHP_SELF, so, you call the page onto itself and use a isset($submit), but I have reasons for not going that route, one being that I have already have a navigation laid out, and changing that will be a nightmare!
Chris Boget wrote:
Page1 (fill in data)->Page2(write data, instant redirect to p1, unless dies from php/mysql) Then the only way to repost, is to push the forward button.Unless, of course, they hit the "Submit" button again and I think that was the point the original poster was getting at. If the user cannot hit the back button, they cannot hit submit again. Chris