Cookie Iframe Problem on IE

Applications that use IFrame to call content from another web page, will be slightly impaired if the browser is Internet Explorer (IE). As for other browsers like Mozilla will be running normally. This happens because IE does not accept variables, in the form of session & cookies from unrecognize third party . IE only recognize the cookie / session that already meet the W3C standard called Platform for Privacy Preferences (P3P).

The Following tips :

1. The simplest way: Open IE, select the option Tools - Internet Options. On the Privacy tab, change the level setting to Low. Close IE and reopen, then your application will run normally. But this is inefficient way, because they have to change the IE settings on all clients.

2. This method is also simple, is adding one line of code on pages that do create session / cookies.


 

PHP:

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


 

ASP.NET:

HttpContext.Current.Response.AddHeader("p3p","CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"");



The second is better, and no need to do the first.

Guaranteed your application will run properly.

Ok, may it helps

Thanks

1 comment: