Example #1
0
 //Logout
 public ActionResult Logout()
 {
     FormsAuthentication.SignOut();
     UserHelpers.SetCurrentUser(Session, null);
     SessionHelpers.ClearSessionLogin(Session);
     return(RedirectToAction("Index", "Home"));
 }