i have a logout link on my page
i put everything which i can but problem is, when i go back after pressing logout link, i got the previous page.
i can put the code like
but it will just restrict me to go back.
not really logout. how i get sure that i am succefully logout in this restriction
help me
Code:
protected void LinkButton1_Click(object sender, EventArgs e)
{
Session.Abandon();
Response.Clear();
FormsAuthentication.SignOut();
Session.RemoveAll();
Response.Redirect("~/Logout.aspx");
}
i can put the code like
Code:
<Script> window.history.forward(1); </Script>
not really logout. how i get sure that i am succefully logout in this restriction
help me
Comment