Disabling Browser "BACK" button

From: Date: Wed, 31 Jul 2002 17:16:02 +0000
Subject: Disabling Browser "BACK" button
Groups: php.general 
Request: Send a blank email to php-general+get-110537@lists.php.net to get a copy of this message
HI Is there a way I can disable the client's browser back button, forcing them to use the navigation I built into the page? Ideally, when they try to press "BACK" on browser, a popup asking them to use the navigation instead would win first prize. The reason I'm asking is again to do with sessions, I have an app running 100% now without using cookies, but if the user hits BACK and ignores the expire warning, the app produces unwanted results ( adds form data again to the db etc.) Just want to patch the holes. Maybe write my own little browser that has no back button??

« previous php.general (#110537) next »