IE10 injects token into .NET MVC links

前端 未结 3 1058
独厮守ぢ
独厮守ぢ 2020-12-14 02:52

I have a working .NET MVC application, but when accessing with IE10 on Windows 8 the browser source code shows that all dynamically generated URLs, eg. with Url.Action

3条回答
  •  春和景丽
    2020-12-14 03:22

    That code is part of ASP.NET's cookieless session feature. You can disable it in the web.config section with:

    
    

    Or with:

    
    

    I don't know why IE10 is doing that. You could probably add a browser file in app_browsers with updated IE10 info to tell it it supports cookies. Or perhaps you have cookies disabled?

提交回复
热议问题