472,133 Members | 1,045 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,133 software developers and data experts.

Disable history.back

Gyanchand
I wouldn't want the user to use the History.Back option in a page by presssing backspace or on the popup menu.....back.. is there any method by whcih i can prevent the user from using history.back
Oct 8 '07 #1
1 3022
jhardman
3,406 Expert 2GB
I wouldn't want the user to use the History.Back option in a page by presssing backspace or on the popup menu.....back.. is there any method by whcih i can prevent the user from using history.back
In ASP the best way to do this is to check for where a user has been at the top of every script (or in the global controls). you might consider using session variables etc. Let me know if this helps.

Jared
Oct 9 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Paul | last post: by
1 post views Thread by Terry Olsen | last post: by
2 posts views Thread by Vani Donthula | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.