simply put this function in your Webpage . this will prevent user to go to back page after logout ..
protected void Page_Init(object
sender, EventArgs e)
{
Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1));
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetNoStore();
}
0 comments:
Post a Comment