Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 1881

ASP.NET 4.0 Website - Disable browser back button only for the website

$
0
0

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


Viewing all articles
Browse latest Browse all 1881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>