我有一個表單將值發佈到嚮導中的頁面。當我在iframe中加載這個表單時,一切都在Firefox中正常工作,它會讓我進入嚮導的第二步,並維護我填寫的值。當我在Internet Explorer中對此進行測試時,我沒有進入第二步一步,而不是它返回到嚮導的第一步,所有字段爲空。當我在Fiddler中檢查這一點時,我發現即時通訊從IE瀏覽器與Internet Explorer發佈表單時的不同反應。我怎樣才能使所有瀏覽器的這項工作?我究竟做錯了什麼?iframe表單不提交在IE中,但在火狐工作
這是我從提琴手回來:
火狐
帖子:
Ressult Protocol Host URL Body Caching Content-Type Process Comments Custom
1 302 HTTP www.dmg.eu /brugman/budgetplanner/aanmelden.php 0 no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Expires: Thu, 19 Nov 1981 08:52:00 GMT text/html; charset=UTF-8 firefox:6116
得到:
# Result Protocol Host URL Body Caching Content-Type Process Comments Custom
2 200 HTTP www.dmg.eu /brugman/budgetplanner/ 40.677 no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Expires: Thu, 19 Nov 1981 08:52:00 GMT text/html; charset=UTF-8 firefox:6116
的Internet Explorer
郵編:
Result Protocol Host URL Body Caching Content-Type Process Comments Custom
73 302 HTTP www.dmg.eu /brugman/budgetplanner/aanmelden.php 0 no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Expires: Thu, 19 Nov 1981 08:52:00 GMT text/html; charset=UTF-8 iexplore:536
得到:
Result Protocol Host URL Body Caching Content-Type Process Comments Custom
74 302 HTTP www.dmg.eu /brugman/budgetplanner/ 0 no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Expires: Thu, 19 Nov 1981 08:52:00 GMT text/html; charset=UTF-8 iexplore:536
希望有人知道的差異是什麼:)。
編輯:(甚至更多信息......)
的HTML
<%@ CODEPAGE=65001 %>
<% Response.Charset = "utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="robots" content="index,follow,noodp" />
<title>Hey</title>
</head>
<body class="body">
<iframe width="800px" height="1024" src="http://www.dmg.eu/brugman/budgetplanner/aanmelden.php">
</iframe>
</body>
</html>
您如何提交表格?用'輸入'鍵或鼠標按鈕?當按下'enter'鍵時,MSIE往往會做一些完全意想不到的事情。此外,響應頭文件並沒有真正的興趣,調試請求頭文件(哪些參數已被髮送?等)和PHP代碼(哪些行被執行,哪些不是?等)會產生更多關於該問題的有趣見解。 – BalusC 2010-03-17 13:19:20
我正在使用提交按鈕,我正在點擊該按鈕。 – Younes 2010-03-17 13:26:04
好的,如果您根據請求添加更多調試信息,那麼我們可能會指出原因。只有響應頭文件沒有多大用處。目前還不清楚是什麼請求和代碼實際上做了什麼:) – BalusC 2010-03-17 13:31:40