IE浏览器不节能asp.net认证令牌/饼干 [英] IE not saving asp.net authentication token / cookies

查看:161
本文介绍了IE浏览器不节能asp.net认证令牌/饼干的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个asp.net网站。它的Web Forms和MVC2的混合物。

I have an asp.net site. Its a mixture of web forms and MVC2.

我有这样的2个不同的服务器上,我通过不同的网址去。

I have this on 2 different servers which I get to via different urls.

在一台服务器认证通过所有浏览器工作正常(IE 8,FF 3.6,铬)

On one server authentication works fine via all browsers (IE 8, FF 3.6, Chrome)

在另一IE 8出现故障时,它不进行认证后发送回该请求的页面的饼干。

On the other IE 8 fails, it doesn't send back the cookie on the request to the page after authenticating.

使用招我已经看到,这两个网站试图设置Cookie,从登录页面的响应。

Using Fiddler I have seen that both sites attempt to set the cookie, in the response from the login page.

响应头,我从两个服务器见
设置Cookie:DemandLaunch = CCA4 ... E79C2D1;路径= /;仅Http

Response Header I see from both servers Set-Cookie: DemandLaunch=CCA4...E79C2D1; path=/; HttpOnly

这两个网站都是在IE的Internet区域。

Both sites are in the internet zone of IE.

我在一个松散的,现在什么检查。

I'm at a loose for what to check now.

我也有设置通过C#code一个cookie的网页和该cookie在IE失败也是如此。

I also have a page that sets a cookie via c# code and that cookie fails in IE as well.

IE的问题不是一台计算机上无论是。我看到这个失败的4种不同的电脑IE浏览器。

The IE issue is not on a single computer either. I see this failure on 4 different computers Internet Explorer.

我的网址是:

测试[现场] .COM - 工程

beta.[site].com - works

beta_ [公司] [现场] .com上 - 失败

beta_[company].[site].com - fails

推荐答案

检查服务器的名称。它不应该有一个下划线的名称中。

Check the name of the server. It shouldn't have an Underscore in its name.

如果没有帮助,你应该尝试这些了......

If that doesn't help, you should try these out...

<一个href=\"http://blogs.msdn.com/b/rahulso/archive/2007/01/17/troubleshooting-cookies-a-case-study.aspx\">http://blogs.msdn.com/b/rahulso/archive/2007/01/17/troubleshooting-cookies-a-case-study.aspx

http://aspalliance.com/1182

这篇关于IE浏览器不节能asp.net认证令牌/饼干的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆