62,253
社区成员
发帖
与我相关
我的任务
分享web.config: <sessionState timeout="60" mode="InProc"/>login.aspx.cs:Session.Add("userID", dr["id"]);
logout.aspx.cs:
Session.Abandon();
Session.RemoveAll();
Response.Cookies.Clear();
FormsAuthentication.SignOut();
Response.Expires = 0;
Response.Redirect("index.aspx");