Back Button Dilemma's

From: Date: Tue, 10 Apr 2001 03:02:07 +0000
Subject: Back Button Dilemma's
Groups: php.general 
Request: Send a blank email to php-general+get-47944@lists.php.net to get a copy of this message
Hi Guys, I know everywhere it says that it is not possible to actually disable the back button, and people have offered some solutions that have not worked for me, this is why I am emailing this list. I have a form which displays the same page with new content (controlled by a counter) in a loop until an exit point is reached. When the user clicks back on the browser the counter still increments and the screen continues like the user pressed the continue button (which is the process I want the user to take). The problem is the user did not make a selection and this is where the problem lies (it takes the default, which throws the whole process out of whack). The question I am asking is how can I prevent the user trying to go back? Is there any code out there which can counter this action (and not cause my counter to increment, thus moving the user to the next screen)? Is there any way to detect that the back button/option has been selected and display a "warning" type page before going back to where the user is? The forward counter action does not really fix my problem. Thanks, Michael. Chief Information Officer, RealGM, Inc. http://www.realgm.com

« previous php.general (#47944) next »