Wizard
Wizard

Reputation: 11265

IE8 block iframe cookies

I have iframe

<div id="pool"><iframe src="https://go.eorder.eu/account/index/language/lt"/>
</div>

with all browser I can log in to the page but with IE8 not working, IE blocking cookies.

What i try: I try this:

<div id="pool"><iframe src="https://go.eorder.eu/account/index/language/lt"/>

<?php header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"'); ?>
</div>  

But still not working.

Upvotes: 0

Views: 1497

Answers (2)

EricLaw
EricLaw

Reputation: 57075

The P3P header needs to come from the go.eorder.eu server. Sending it on the outer frame will not help the browser accept it.

See http://blogs.msdn.com/b/ieinternals/archive/2013/09/17/simple-introduction-to-p3p-cookie-blocking-frame.aspx for more details.

Upvotes: 1

Jason
Jason

Reputation: 349

I use this one, its a bit different from your example.

header('P3P: CP="NOI ADM DEV COM NAV OUR STP"');

Upvotes: 1

Related Questions