Session.Clear(); Session.Abandon(); Session.RemoveAll(); FormsAuthentication.SignOut(); Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1)); Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache); Response.Cache.SetNoStore(); Response.Redirect("~/Login.aspx", false);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)