IE11下Forms验证,登录失败。其他浏览器均可

修改Web.config中authentication节点的设置,给forms添加cookieless="UseCookies"属性即可。

 

<authentication mode="Forms">
  <forms cookieless="UseCookies" loginUrl="~/sys/Login.aspx" defaultUrl="~/sys/default.aspx" protection="All" timeout="60" /> </authentication>
</authentication>
posted @ 2015-05-06 18:16  木从心  阅读(221)  评论(0)    收藏  举报