码迷,mamicode.com
首页 > 其他好文 > 详细

FormsAuthentication 登录兼容 IE11 保存cookie

时间:2014-08-15 12:24:48      阅读:191      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   使用   io   for   ar   art   

现象:使用FormsAuthentication进行登录验证,在IE11客户端无法保存cookie

解决方法:在web.config中的forms中增加cookieless="UseCookies"属性。

原文地址:http://www.wlm.so/Article/Detail/lmb48dogzil3b00000

<authentication mode="Forms">
  <forms cookieless="UseCookies" loginUrl="~/Login" domain="wlm.so"/>
</authentication>

  

 

FormsAuthentication 登录兼容 IE11 保存cookie,布布扣,bubuko.com

FormsAuthentication 登录兼容 IE11 保存cookie

标签:style   blog   http   使用   io   for   ar   art   

原文地址:http://www.cnblogs.com/lmBlock/p/3914364.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!