用户把浏览器关闭 则sessionID就消失
Meta
用户名:
"
密码:"
Box" 记住我
登录"
关闭"
Page_Load(
(Request.Cookies[] != uName = Request.Cookies[].Values[ pwd = Request.Cookies[].Values[ userName = Request.Form[ userPwd = Request.Form[ (!.IsNullOrEmpty(Request.Form[ (userName == && userPwd == AlertAndRedirect( + userName,登录成功 HttpCookie cookie = HttpCookie( cookie[] = cookie[] = cookie.Expires = DateTime.Now.AddDays(
AlertAndRedirect(,登录失败 Response.Cookies[].Expires = DateTime.Now.AddDays(-
Response.Cookies[].Expires = DateTime.Now.AddDays(- (userName == && userPwd == AlertAndRedirect( + userName,登录成功
AlertAndRedirect(,登录失败
AlertAndRedirect( redirectURL, Response.Write(alert(' + msg + + redirectURL + }