public ActionResult LogOut() { FormsAuthentication.SignOut(); System.Web.Security.Roles.DeleteCookie(); SessionHelper.Abandon(); return(RedirectToAction("Login")); }
public void Logout() { SessionHelper.Abandon(); try { this._caching.DeleteSession(Request.Headers.Authorization.ToString()); } catch { } }
public ActionResult LogOff() { AuthenticationManager.SignOut(DefaultAuthenticationTypes.ApplicationCookie); SessionHelper.Abandon(); return(RedirectToAction("Login")); }
public static void Logout() { SessionHelper.Abandon(); }