P
Patrick Olurotimi Ige
I have a Forms Auth and use a button that allows users to SignOut below
but when they sign out and PRESS THE BACK BUTTON they can see the
previous page WHY?
Sub SignOut(objSender As Object, objArgs As EventArgs)
'delete the users auth cookie and sign out
System.Web.Security.FormsAuthentication.SignOut()
Session.Abandon()
Session.Remove("Context.User.Identity.Name")
'redirect the user to their referring page
Response.Redirect("logon.aspx?ReturnUrl=%2fFormsAuthAd%2fdefault.aspx")
End Sub
ANY IDEAS WHAT I'M DOING WRONG!
Thx
but when they sign out and PRESS THE BACK BUTTON they can see the
previous page WHY?
Sub SignOut(objSender As Object, objArgs As EventArgs)
'delete the users auth cookie and sign out
System.Web.Security.FormsAuthentication.SignOut()
Session.Abandon()
Session.Remove("Context.User.Identity.Name")
'redirect the user to their referring page
Response.Redirect("logon.aspx?ReturnUrl=%2fFormsAuthAd%2fdefault.aspx")
End Sub
ANY IDEAS WHAT I'M DOING WRONG!
Thx