USE IE10 TO ACCESS MY LOCAL DEBUG WEBSITE HAS ERROR

http://forums.asp.net/t/1928245.aspx

 

USE IE10 TO ACCESS MY LOCAL DEBUG WEBSITE HAS ERROR.

Aug 09, 2013 07:13 AM|LINK

i use VS2010 ,and i upgrade to IE10 recently

when i run my web app (ASP.net development server) ,in IE10 the address auto change to

http://localhost:10992/(F(7HiB_Hok0Jhqmdpn0KQBIyj74QeW6PKxuHulmoWr2XkfBhUuO_Ix9lzOHSe610QzALBve-Ka_iIn6Gdtfh-E_TJ3RhbqEZnp0he1xTgF2SOkBz7xTbNn6eT7oXt2xDO6uxvk1vl9VtTcU-Us2XRTQ9EMP1n4QtUZFLJtrj3J8b0nRxhvq_u-pBXIqhgN_FHS0))/AuthorizationVIR/Index


Ii shoud be:http://localhost:10992/AuthorizationVIR/Index
is there anyone can help me to have a look? 

 

Aug 11, 2013 05:04 PM|LINK

ASP.NET checks the user agent string to detect browsers. However, as the version numbers increase, ASP.NET does not recognize new version of IE10 and handles it as an unknown browser and does not send back a Set-Cookie header. This is then undestood as browser without cookies support and adds a session string to the URL (cookie less sessions). 

There is a hotfix available for this at http://support.microsoft.com/kb/2600088/en-us. After that it should work.

More info at

http://forums.asp.net/t/1838010.aspx/1
http://stackoverflow.com/questions/6983732/ie10-user-agent-causes-asp-net-to-not-send-back-set-cookie-ie10-not-setting-coo
4

Hope this helps.

 
 
 
 ------------------------------

IE10 User-Agent causes ASP.Net to not send back Set-Cookie (IE10 not setting cookies)

http://stackoverflow.com/questions/6983732/ie10-user-agent-causes-asp-net-to-not-send-back-set-cookie-ie10-not-setting-coo

 

The problem rests with some IIS instances thinking that IE10 is a cookieless browser (i.e. cant support cookies). In our problem case the server was setting the authentication cookie and sending it back to the browser, but was then ignoring the cookie on subsequent requests.

The solution is to either patch the browser capabilities so that it knows IE10 can do cookies (outlined in another answer on this page), or change the default behaviour to force it to use cookies even if it thinks the browser can’t do cookies.

We just added the following to our forms section in web.config:

cookieless="UseCookies"

<authenticationmode="Forms"><formsname=".AUTH"cookieless="UseCookies"loginUrl="/"timeout="10000"path="/"/></authentication>

 

 
 
 
 

转载于:https://www.cnblogs.com/kyang/p/3457044.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值