Beispiel #1
0
        public ActionResult LogOut()
        {
            SSOManager sSOManager = new SSOManager();

            //string token = HttpContext.Session["User"].ToString();
            //清楚session
            sSOManager.SSO_Token_Clear();
            HttpContext.Session.Remove("token");
            //清楚redis用户权限信息

            return(Redirect("~/Home/Index"));
        }