Disable "Back" Button 
Author Message
 Disable "Back" Button

I have two questions.  How can I keep users from using the back button?
Second question is my starting page asks for a password and id.  How can I
keep someone from setting a bookmark or favorite on a page that is several
pages into my app and then just going there first without putting in user
information.

Terry



Tue, 31 May 2005 00:38:46 GMT  
 Disable "Back" Button
Have you given Javascript's location.replace a go??? If you use that in your
links... If will replace the current page instead of moving forward to it!

P

Quote:
> I have two questions.  How can I keep users from using the back button?
> Second question is my starting page asks for a password and id.  How can I
> keep someone from setting a bookmark or favorite on a page that is several
> pages into my app and then just going there first without putting in user
> information.

> Terry



Tue, 31 May 2005 00:48:41 GMT  
 Disable "Back" Button
With regards to the favourites linking to pages within your app... If you
use a script that checks for the cookie like:

<%IF session("cookiename") = FALSE THEN Response.Redirect "loginpage.asp"%>

That should do the trick! Make sure the response buffer is set to TRUE!!!

You could even use a HTTP_Referrer Server Variable to direct them to the
page after login.

P

Quote:
> I have two questions.  How can I keep users from using the back button?
> Second question is my starting page asks for a password and id.  How can I
> keep someone from setting a bookmark or favorite on a page that is several
> pages into my app and then just going there first without putting in user
> information.

> Terry



Tue, 31 May 2005 00:53:25 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Disabling "BACK"/"FORWARD" buttons

2. Disabling "BACK"/"FORWARD" buttons

3. How to disable the "Back" button

4. How to forbid "back" button

5. Disable Application Quit ("X") Button

6. Disable "Add button" from toolbar

7. Disable the "Insert" Button

8. How to disable "PrintScreen" button

9. How to disable the "close" button

10. disable "X" (close button) in ControlBox

11. Disabling "close button" in a form

12. Disabling the "Back" button?

 

 
Powered by phpBB® Forum Software