当用户尝试用IE11登录时,他得到了“400个坏请求”
其他用户在做回发操作时会得到签名
更多信息:
我的登录代码:
if (Membership.ValidateUser(strUserName, strPswrd))
{
FormsAuthentication.RedirectFromLoginPage(strUserName, chkRememberMe.Checked);
}
来自web.config
<authentication mode="Forms">
<forms name="MyAuthCookie" loginUrl="HomePage.aspx" defaultUrl="Loading.aspx" timeout="9480" enableCrossAppRedirects="true" />
</authentication>
谢谢
发布于 2013-11-26 09:10:36
找到了解决办法:
在cookieless=中为窗体元素添加web.config“UseCookies”。
<authentication mode="Forms" >
<forms loginUrl="~/Account/LogOn" timeout="2880" cookieless="UseCookies" />
</authentication>
http://www.hanselman.com/blog/FormsAuthenticationOnASPNETSitesWithTheGoogleChromeBrowserOnIOS.aspx
https://stackoverflow.com/questions/20212382
复制相似问题