hello everybody,
I am having problem with logout of a Users Account in Firefox because whenever the user presses the Back browser button, the personal page was displayed, showing their personal details. Is there a way to logout successfully in firefox and chrome i;e when user click back button after logout it should navigate him to login page.
here is my code for logout.
Session.Clear();
Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1));
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetNoStore();
Response.Expires = 0;
Response.Cache.SetNoStore();
Response.AppendHeader("Pragma", "no-cache");
Response.Redirect("Login.aspx");