safaris p3p policy and iFrames

Permalink
Hi there

I am currently building a page. In the pages content is an iFrame. This works very well in every browser except in apples Safari. The iFrame source would like to write a cookie. Safari does not allow this.

After googling a bit, i found a solution:
<?php
header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');
?>


this bit of code makes it possible to load iFrame sources, which are writing cookies, in safari.

Unfotunately, I could not find out, where to put this code.

Can some one please help me?

Kind regards,
steff

Steff
View Replies:
Remo replied on at Permalink Reply
Remo
usually, you have to put calls to header before any output has been written.

I'd therefore try to add it to index.php before any other lines.

It's of course not the correct place but it should work if you put it in index.php
Steff replied on at Permalink Reply
Steff
thank you remo, for the hint. unfortunately it doesn't work. I dont get an error. So far, that's ok. It just dosen't make a difference for safari.

so if any one has an idea, how to solv this problem, pleas let me know.

you can see the problem athttp://twerenbold.meschch.nine.ch/alle-reisen/kartenansicht/...

or have a look at this site
http://twerenbold.meschch.nine.ch/alle-reisen/reise-suchen/...

thanks a lot