SET COOKIES WITHIN AN IFRAME ( Solved for  IE 6,7,8)

SET COOKIES WITHIN AN IFRAME ( Solved for IE 6,7,8)

IE usually blocks cookies set from within an IFrame. If you require such cookies to be set, especially if you have advertisements or social networking plugins, you need to send a Platform for Privacy Preferences Project (P3P) header.

What Platform for Privacy Preferences Project (P3P) DO?

It allow user agents to recognize when hosts in different domains are owned by the same entity or entities acting as agents for one another. Modifications would allow user agents to more intelligently apply privacy preferences, addressing implementation issues .

create your p3p policy with IBM P3P editor

IBM has developed a downloadable P3P Policy Editor

www.p3ptoolbox.org/tools/resources1.shtm

  • Create a compact privacy policy(CP) served via HTTP header
  • an XML policy file, and an
  • XML reference file.

If all checked, and the header is being sent properly, and IE can read the policy file.

Look for the comment in the .htaccess file

To the following code snippet:

p3p-element = policyref="/w3c/p3p.xml", directs the browser to send the specified reference to the full XML policy.

If looking actually store some data, such as email addresses and login cookies, then apply this:

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

要查看或添加评论,请登录

Pranavjeet Mishra的更多文章

社区洞察

其他会员也浏览了