back button problem
hi!
im creating a login/logout page for a web based app.im using session variable i.e Session("uname")=request("user") in my validatelogin asp page.
when im logging out i have clear the session variable i was using.the code goes something like this
Session("uname")=""
Session.Abandon
Response.Redirect("login.asp")
I have also mentioned the below code in my all three pages i.e login,action & logout
Response.CacheControl="no-cache"
Response.Addheader "pragma","no-cache"
Response.Expires="-1"
still
when i press the back button in my browser window it redirects me to all the initial pages i accessed.
Plz help me as how i can make the back button stop when the user session gets over.
|