Re: How to disable browser's back- and refresh-Button
| From: | Richard Davey | Date: | Mon, 19 Apr 2004 15:17:03 +0000 |
| Subject: | Re: How to disable browser's back- and refresh-Button | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183824@lists.php.net to get a copy of this message | ||
Hello Marco,
Monday, April 19, 2004, 5:22:26 PM, you wrote:
MS> I want to prevent the user to use the browser's back-/refresh-button in
MS> my multipage registration form (as well as in other forms). How can I do
MS> this?
There is NO foolproof way to do this. You can open your form in a new
browser window that does not display those buttons, but you still
cannot protect against someone right-clicking the form and then
picking "Back" or "Refresh". Even with JavaScript that disables
right-clicking, users can circumvent this simply by disabling
JavaScript.
The more logical solution is to code a form system that can handle
users "going back" a page without erroring.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html