iframe

給iframe的src設值,使之作頁面跳轉, chrome、ff都沒問題,ie下卻不行。javascript

 

因而,想固然的認爲是瀏覽器的問題html

 

後面發現是他們eview的A元素的空跳轉引發的。java

 

a href=""  ———— 就是這個緣由!web

點擊,致使跳轉當前目錄的url,  而這個是不能訪問的。 因此出現404.。chrome

這樣就能夠了: href="javascript:void(0)"瀏覽器

 

設置src跳轉沒問題,可是以後A的空跳轉則引發問題:緩存

 

URL 方法 結果 類型 已接收 已花費 發起程序 等候‎‎ 開始‎‎ 請求‎‎ 響應‎‎ 已讀取緩存‎‎ 差距‎‎
/connect.action?_=1401532040764&isAfterLoginConnect=true&isActived=true GET 200 text/plain 266 B 16 ms JS 庫 XMLHttpRequest 0 0 16 0 0 6938
/sysmgrevent/oms.event.get.action?lastTime=145262409&eventIds%5B%5D=oms.web.core.user.permission.change_93618403-27aa-4ed6-a570-3c781caca014&eventIds%5B%5D=oms.web.core.user.has.logout_93618403-27aa-4ed6-a570-3c781caca014&eventIds%5B%5D=oms.web.core.user.has.been.kicked.off_93618403-27aa-4ed6-a570-3c781caca014&_=1401532041768 GET 200 179 B 16 ms JS 庫 XMLHttpRequest 1000 0 16 0 0 5938app

 

第一個ide

鍵 值
請求 GET /sysmonitorneserver/sysmonitor/processTab.html HTTP/1.1
Accept image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer https://10.74.169.50:31945/sysmonitorneserver/sysmonitor/serverInfo_body.html
Accept-Language zh-CN
User-Agent Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; aff-kingsoft-ciba; .NET4.0C; .NET4.0E)
Accept-Encoding gzip, deflate
Host 10.74.169.50:31945url

響應

請求正文爲 空

鍵 值
響應 HTTP/1.1 304 Not Modified
Content-Type text/html
Content-Length 4598
Expires Sat, 07 Jun 2014 08:27:47 GMT
Last-Modified Fri, 30 May 2014 04:10:13 GMT

響應正文爲 html

第二個

 

 

請求頭:

鍵 值
請求 GET /sysmonitorneserver/sysmonitor/ HTTP/1.1
Accept image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer https://10.74.169.50:31945/sysmonitorneserver/sysmonitor/serverInfo_body.html
Accept-Language zh-CN
User-Agent Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; aff-kingsoft-ciba; .NET4.0C; .NET4.0E)
Accept-Encoding gzip, deflate
Host 10.74.169.50:31945
DNT 1
Connection Keep-Alive
Cookie SYSMGR_SESSIONID=1sogvemeq3fvcn2mger01r24u; SYSMGR_SESSIONID=122yzkehxdhuqdl4n9cmkl8xk; SYSMGR_SESSIONID=122yzkehxdhuqdl4n9cmkl8xk

 

響應頭:

鍵 值

響應 HTTP/1.1 302 Found   ---------  這個302表示跳轉, 原本應該是返回404的,可是後臺進行了處理。
SET-COOKIE SYSMGR_SESSIONID=1sogvemeq3fvcn2mger01r24u;Path=/sysmonitorneserver;Secure;HttpOnly
Location https://10.74.169.50:31945/portal/error.html?error=404
Content-Length 0

 

請求正文、響應正文 全都爲空。

 

 

可見正是這個緣由致使。

相關文章
相關標籤/搜索