I have an iframe in a site with a login form. In IE8, I can't log in to the page because IE is blocking my cookies. I found a php solution: <?php header(‘P3P:CP=”IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT”‘); ?> but I don't know where to place this code, in the iframe or after/before ?
            Asked
            
        
        
            Active
            
        
            Viewed 825 times
        
    0
            
            
        1 Answers
0
            Put it in your iframe or .htaccess file.
See also: Cookie blocked/not saved in IFRAME in Internet Explorer
- 
                    If site which is in iframe is writed in c# languogae I must add c header or can php ? – Wizard Nov 20 '12 at 14:09
- 
                    Doesn't matter. The content of header is important :) – long Nov 20 '12 at 14:27
- 
                    Wait but if this site which is in iframe is not my how I can write p3p policy, I undestand that I only can write for own site. – Wizard Nov 20 '12 at 15:24
 
     
     
    