diff --git a/ExtApp/ExtApp.BLL/App/LoginBLL.cs b/ExtApp/ExtApp.BLL/App/LoginBLL.cs index 0a66a7e..7a9fd3f 100644 --- a/ExtApp/ExtApp.BLL/App/LoginBLL.cs +++ b/ExtApp/ExtApp.BLL/App/LoginBLL.cs @@ -59,6 +59,7 @@ public LoginResult Login(LoginModel model) public Result Logout() { HttpContext.Current.Response.Cookies.Clear(); + HttpContext.Current.Session.Clear(); return new Result(200, "注销成功!"); } diff --git a/ExtApp/ExtApp.Web/Default.aspx b/ExtApp/ExtApp.Web/Default.aspx index d6df889..ca2a68a 100644 --- a/ExtApp/ExtApp.Web/Default.aspx +++ b/ExtApp/ExtApp.Web/Default.aspx @@ -5,6 +5,7 @@ + ExtJs权限管理系统 @@ -12,6 +13,8 @@ + +