« Solution for no vibration on iPhone 3GS | Link exchange concept » |
I had an issue whereby my iframe was loading a webpage from a different domain. Problem is the webpage in the iframe was required to load cookies from its own domain. This works in Firefox and most other browsers except Internet Explorer because its default setting prevents the loading of 3rd party. Google says that all you need to do to get this working is setup a P3P Cookie Privacy policy according to P3P Specifications. Most results also say that all you need is to setup the P3P policy in the header. Such as in VB
HttpContext.Current.Response.AddHeader("P3P", "CP=""CAO PSA OUR""")
OR in PHP
<?php header('P3P: CP="CAO PSA OUR"'); ?>
If you check with the P3P validator, this fails because its does not have a valid xml policy. Turns out that adding to the header is actually a compact policy hence does not need an xml policy as needed by the validator.
If you’ve set the headers as follows then its working, all you need to check is that you have the same P3P headers added to page where the cookies are set even though the page that sets the cookie isn’t in the iframe.