I have an web application which requires login. When users finish their activities they simply logout. What I need is to clear browser history when user click logout button. This should disable BACK button in browser.
You cannot clear browser history from ASP.Net, only thing you can do is make your pages non-cachable by adding the following line in page load event
Response.Cache.SetCacheability(HttpCacheability.NoCache);
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.