62,263
社区成员
发帖
与我相关
我的任务
分享
应用程序被配置为发出安全 Cookie。这些 Cookie 要求浏览器通过 SSL (https 协议)发出请求。但是,当前的请求没有通过 SSL 发送。 protected void Login1_Authenticate(object sender, AuthenticateEventArgs e)
{
if (Membership.GetUser(Login1.UserName) == null)
{
Login1.FailureText = "该用户不存在,请重新填写!";
}
if (Membership.ValidateUser(this.Login1.UserName.ToString(), this.Login1.Password.ToString()))
{
出错代码 System.Web.Security.FormsAuthentication.RedirectFromLoginPage(Login1.UserName,false);
}
}