IE7 iframe空白页面 [英] IE7 iframe blank page

查看:211
本文介绍了IE7 iframe空白页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理一个有iframe的网页,我正在iframe中加载一个外部网站。该页面在IE6,FF等中工作正常但在IE7中我看到的只是一个空白页面。

I am working on a web page which has an iframe and I am loading an external site in the iframe. The page works fine in IE6, FF etc but in IE7 all I see is a blank page.

我发现这是由于IE7中的网络钓鱼过滤器造成的。网络钓鱼过滤器将无法检查iframe内的网页,因此无法正确呈现。你以前遇到过这个问题吗?我该如何解决?

I found that this is due to the phishing filter in IE7. The phishing filter will not be able to check the web page inside the iframe so it will not be rendered properly. Have you faced this issue before? How can I resolve it?

编辑:好的。在看到前两个答案后,我想我应该对此给出更多解释。该页面用于付款处理,我正在加载一个页面(第三方公司),要求提供信用卡信息。输入详细信息并按继续后,iframe变为空白。经过大量调查后,我们发现IE7不接受第三方cookie(当用iframe加载页面时)。这与安全设置有关。互联网上的一些文章说我可以绕过网络钓鱼过滤器。我该怎么办?

Okay. After seeing first two answers I think I should give some more explanation to this. The page is for payment processing and I am loading a page (of a 3rd party company) which asks for credit card information. Right after entering details and pressing continue the iframe goes blank. After much investigation we found that IE7 does not accept 3rd party cookies (when page loaded in iframe). It is something to do with the security settings. Some articles in the internet say that I can bypass the phishing filter. How can I do it?

推荐答案

如果您使用 ASP ,请添加此代码

If you are using ASP then add this code

Response.AddHeader "p3p", "CP=" & chr(34) & "CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR" & chr(34)

iframe 中加载的所有页面中

这篇关于IE7 iframe空白页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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