Last post Jun 16, 2016 06:27 AM by Nan Yu
Jun 15, 2016 02:53 PM|ashok.k|LINK
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 someother 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.
Any suggestions or articles on disabling browser back button will be helpful.
Jun 16, 2016 06:27 AM|Nan Yu|LINK
But it is not a good idea to disable expected browser behavior .