TechAid24

Your Technical Consultant

Tag: secure web app logout

Stop Accessing Previous Pages After Signout – Disable Browser Back Button

Posted on by Anonymous Guest

Actually I want to prevent user from back to the previous page after logout. For this scenario, my idea is to write a cookie when logout (check the “SetLogoutCookie” function), and read the cookie when page load for each web page except login.aspx (check the “RedirectToLoginPage” function). If the data in cookie means logout then redirect current page to login.aspx.

Continue reading Stop Accessing Previous Pages After Signout – Disable Browser Back Button