If you have page A and page B and you don't want users to be able to press BACK on page B to go to Page A you can insert a page between page A and B (Call it Page A1) that says (or something like):
<script language=javascript> document.location="PageB.htm" </script> Then you make sure page A never calls Page B directly, but calls PageA1 instead. This won't stop the user form using their history to go back to Page A though, but will just keep forwarding the person to Page B if they do. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Stein Sent: Tuesday, July 30, 2002 3:47 PM To: Multiple recipients of list witango-talk Subject: Witango-Talk: [OT] JavaScript to prevent back button I want to make sure once users logout there is no way for them to go back using the back button. I assume it is a JavaScript thing. I would also like to use it on a few other pages. I prefer not to take the back button from the toolbar ( rather take the toolbar away is what I mean). Dan -- Dan Stein Digital Software Solutions 799 Evergreen Circle Telford PA 18969 Land: 215-799-0192 Mobile: 610-256-2843 Fax 413-410-9682 FMP, WiTango, EDI,SQL 2000 [EMAIL PROTECTED] www.dss-db.com ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
