from 验证简单实现

配置文件的     添加 System.Web.Security.FormsAuthentication.SetAuthCookie(name, true); 退出 System.Web.Security.FormsAuthentication.SignOut();
把学习一种技术一直坚持下去。
原文地址:https://www.cnblogs.com/cxlings/p/2654486.html