[AllowAnonymous] public ActionResult LogOff() { FormsAuthentication.SignOut(); Session.Abandon(); Session.Clear(); Session.RemoveAll();
public ActionResult Index() { return View(); } What I have tried: i have tried by using this code it's not working? protected void Application_BeginRequest() { Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.Cache.SetExpires(DateTime.UtcNow.AddHours(-1)); Response.Cache.SetNoStore(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)