配置文件的 添加 System.Web.Security.FormsAuthentication.SetAuthCookie(name, true); 退出 System.Web.Security.FormsAuthentication.SignOut(); 相关文章: