Example #1
0
        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"));
 }
Example #3
0
 public ActionResult Logout()
 {
     FormsAuth.SingOut();
     return(Redirect("~/Login"));
 }