You*_*nes 3 forms firefox internet-explorer fiddler
我有一个表单,它将值发布到向导中的页面.当我在Iframe中加载此表单时,一切都在Firefox中工作正常,它将使我进入向导的第二步并维护我填写的值.当我在Internet Explorer中测试时,我没有到达第二步步骤,而不是它返回到向导的第一步,所有字段都是空白.当我在Fiddler中检查这个时,我发现当我在Firefox中将表格发布到Firefox中时,我会得到不同的响应.如何让这个适用于所有浏览器?我究竟做错了什么?
这是我从Fiddler那里得到的:
帖子:
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
Run Code Online (Sandbox Code Playgroud)
得到:
# 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
Run Code Online (Sandbox Code Playgroud)
帖子:
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
Run Code Online (Sandbox Code Playgroud)
得到:
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
Run Code Online (Sandbox Code Playgroud)
希望有人知道差异是什么:).
编辑:(更多信息.......)
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>
Run Code Online (Sandbox Code Playgroud)
小智 10
此博客上的信息提供了要解决的完整详细信息和代码:
http://viralpatel.net/blogs/2008/12/how-to-set-third-party-cookies-with-iframe.html
如何在ASP.Net中设置p3p http头?
HttpContext.Current.Response.AddHeader("p3p", "CP=\""IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""")
Run Code Online (Sandbox Code Playgroud)
如何在PHP中设置p3p http头?
header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');
Run Code Online (Sandbox Code Playgroud)
如何在JSP中设置p3p http头?
response.setHeader("P3P","CP='IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT'")
Run Code Online (Sandbox Code Playgroud)
如何在ColdFusion中设置p3p http头?
<cfheader name="P3P" value="CP='IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT'" />
Run Code Online (Sandbox Code Playgroud)
从博客文章中解脱,万一它死了.