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