那样也不可能无效啊!
using system.web.security;
FormsAuthentication.RedirectFromLoginPage(txtname.Text,true),true可建持久session.FormsAuthentication.SetAuthoCookie(txtname,true)
Response.Redirect("target.aspx")
using system.web.security;
FormsAuthentication.RedirectFromLoginPage(txtname.Text,true),true可建持久session.FormsAuthentication.SetAuthoCookie(txtname,true)
Response.Redirect("target.aspx")
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货