|
-
Jan 16th, 2008, 12:30 AM
#1
Thread Starter
Hyperactive Member
catch back button in web browser
Hi guys,
Is there a way to catch the back button in web browser?
Let's say a user logs in then he goes to the viewdata.aspx after which he then goes back to the main page and logs out.
What i want now is whenever he hits the back button he will then be redirected to the login.aspx.
I tried using sessions and it works if only the user types in the url but if hits the back button he can still view the cached data.
I don't want to disable the caching of my webforms since it (i think) i slows the web page and also because it prevents the user to view data that is being cached since the user is still log on.
Thanks and God bless
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|