3

我设计了框架站点:pishonworld.com,该站点框架批发中心.com/pishonworld/store.cfm。

当客户使用 IE 在我的网站上购物时,他们的购物车一离开购物车就会被清空。我对 P3P 有一些非常好的东西,所以我将 P3P 添加到我的 index.php 中,但购物车仍然在 IE 上被清除。

这个P3P需要去框架页面吗?还是框架页面?

我究竟做错了什么?我该如何解决这个问题?

预先感谢您的帮助!

以下是我的index.php。


<?php
    header('p3p: CP="NOI ADM DEV PSAi COM NAV OUR OTR STP IND DEM"');
?>
<!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>
<title>Pishon World</title>
<link rel="stylesheet" href="style/style.css" type="text/css" media="screen" />
</head>

<body>
<div align="center" id="mailWrapper">
  <div id="pageContent">

  <?php include_once("template_header.php");?>

<table width="1100" border="0">
  <tr style="text-align: center">
    <td><iframe align="middle" name="iframe" id="iframe" frameborder="0" scrolling="auto" width="1100" height="650" src="welcome.php" seamless="seamless">Your browser is too old and it does not support pishonworld.com.
    <br />
    Please visit us at http://www.wholesalecentral.com/pishonworld/store.cfm  to place your order.</iframe></td>
  </tr>
</table>
  </div>

<?php include_once("template_footer.php");?>
</div>
</body>
</html>
4

1 回答 1

0

Try

P3P: CP=”ALL ADM DEV PSAi COM OUR OTRo STP IND ONL”

See http://www.marco.org/2007/04/27/p3p-sucks-how-to-get-frame-cookies-unblocked-in-ie6 I have used

ALL ADM DEV PSAo COM OUR OTRo IND ONL

in the past and it works!

Also I would add this header to all your pages that are part of this process.

于 2013-11-12T01:04:56.970 回答