小编Mig*_* X.的帖子

IE10跟随HTTP 302重定向两次

我遇到IE10的以下问题(其他浏览器,如Firefox,Opera,Chrome和旧的IE版本似乎没有受到影响.

(1)浏览器点击一个页面,该页面响应HTTP 302重定向到另一个站点(为了执行登录):

请求:

GET https://www.domain-one.de/startpage.aspx?... HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Accept-Language: de-DE
User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)
Accept-Encoding: gzip, deflate
DNT: 1
Host: www.domain-one.de
Pragma: no-cache
Connection: Keep-Alive
Cookie: ...
Run Code Online (Sandbox Code Playgroud)

响应:

HTTP/1.1 302 Found
Cache-Control: private
Content-Type: text/html; charset=utf-8
Location: https://login.domain-two.com/login?tid=hGZmFb77-9VyiwfkhIXIRMDp
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
P3P: CP="NOi CURa TAIa OUR NOR UNI"
Date: Tue, 13 Aug 2013 19:01:22 GMT
Content-Length: 190

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="https://login.domain-two.com/login?tid=hGZmFb77-9VyiwfkhIXIRMDp">here</a>.</h2>
</body></html>
Run Code Online (Sandbox Code Playgroud)

(2)IE遵循此重定向.服务器设置一些coookies并重定向回原始站点:

请求:

GET …
Run Code Online (Sandbox Code Playgroud)

internet-explorer redirect

5
推荐指数
1
解决办法
2761
查看次数

标签 统计

internet-explorer ×1

redirect ×1