When the user clicks it it takes them to the logout page. Well, on the logout page I have
in the code. However, once the user clicks the back button, it simply takes them back to the protected page. Is there coding that will prevent this from happening. Once the user logs out, I don't want them to be able to click back again and view the pages they had to be logged in to see.
I've googled this, and I can't seem to find anything that will work.
I really can't find anything that makes sense to me. Once the user clicks logout, I want the session to clear and if they hit the back button they cannot see the page they were logged in on without having to log in agian. My code looks like this, where would I insert code to prevent them from hitting the back button and seeing the page they were just on?
I am using front page. Thanks !!
<%@ Language="VBScript" %>
<% Option Explicit %>
If Session("username") <> "TOL" Then Response.Redirect("../login_db_nav.asp")