Internet Explorer – IE 10 issue with ASP.NET [cookies, javascript, postback issues]

There is a bug in the browser definition files that shipped with .NET 2.0 and .NET 4, namely that they contain definitions for a certain range of browser versions. But the versions for some browsers (like IE 10) aren’t within those ranges any more. Therefore, ASP.NET sees them as unknown browsers and defaults to a down-level definition, which has certain inconveniences, like that it does not support features like JavaScript, cookies etc. [Source- Click Here]

I have tried a couple of fixes for this issue which seem to work fine-

  • Add App_Browsers folder to the solution (or server location where the code is deployed)
  • Add a file – BrowserFile.browser¬†to the folder. Copy-paste the below content to the file-
<browser refID="Default">
<capabilities><!-- To avoid wrong detections of e.g. IE10 -->
<capability name="cookies" value="true" />
<capability name="ecmascriptversion" value="3.0" />

If this doesn’t work for you, try another solution-

  • Add the following in web.config-
<authentication mode="Forms">
  <forms name=".AUTH" cookieless="UseCookies" loginUrl="/" timeout="10000" path="/" />

Reference- StackOverFlow link

Please share, like and comment.

Thanks for checking out!

All comments.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.