public ActionResult Logout() { FormsAuth.SingOut(); var result = Redirect(ZConfig.GetConfigString("GatewayServer") + "/Login"); return(result); }
public ActionResult Logout() { FormsAuth.SingOut(); //ZCookies.DelCookie("SessionKey"); //ZCookies.DelCookie("SessionUserCode"); //return new RedirectResult(string.Format("{0}/Passport?appkey={1}&usercode={2}", // ConfigurationManager.AppSettings["SSOPassport"], // ConfigurationManager.AppSettings["SSOAppKey"], // "")); return(Redirect("~/Login")); }
public ActionResult Logout() { FormsAuth.SingOut(); return(Redirect("~/Login")); }