Hi,
I am working on an ASP.NET 4.0 website and I am using IIS 8 to host my website.
I want to disable the browser back button so that the users cannot go to the previous page by clicking on the browser back button.
If the user logs out of the website and if they want to go to some other website using the same browser window, then the back button should be enabled.
1. How to disable the browser back button only for the website?
2. If the session times our, user is redirected to login page. In this case also, the browser back button should be disabled.
3. Is there any settings in IIS that can detect if the page is postback after the user has clicked on browse back button.
Any suggestions or articles on disabling browser back button will be helpful.
Thanks
Ashok