Thursday, January 30, 2014

How to fix problem: In ASP.NET form authentication, cookie only working under compatibility mode in IE 10 or above?

In web.config file, Add cookieless="UseCookies" property into Form Authentication section
<authentication mode="Forms">
<forms cookieless="UseCookies" loginurl="/" name=".AUTH" path="/" timeout="10000">
</forms></authentication>
Reference:
http://stackoverflow.com/questions/6983732/ie10-user-agent-causes-asp-net-to-not-send-back-set-cookie-ie10-not-setting-coo

No comments:

Post a Comment