Re: Disabling Browser "BACK" button

From: Date: Thu, 01 Aug 2002 03:40:48 +0000
Subject: Re: Disabling Browser "BACK" button
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-110617@lists.php.net to get a copy of this message
Petre, why not use javascripts window.open something like this link to open your app <a href="#" onClick="window.open('http://yourapp.com','yourappname','toolbar=no'); return false;">link to your app</a>. this would open a new window without the back and forward buttons. "Petre" <internet@vsa.co.za> wrote in message news:3D481B52.6020103@vsa.co.za... > 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 (#110617) next »