I have problem with Apex application in Frame. I can't login to my APEX app because IE6 or 7 blocked cookies. I browsed internet about it and problem is in P3P.
At this time I add to my Apex app this meta tag (changed Templates)
*<meta http-equiv="P3P" content='CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"'>*
but problem is still.
Also I found in the Internet some solution for other platform:
header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');
HttpContext.Current.Response.AddHeader("p3p","CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"");
*?????????? -- some ideas?*
Can you help me ??
Edited by: AndyPol on 2009-04-15 00:54
How are you trying to access it?
From where are you trying to access it?
Why are you trying to access it in this way?
I'm not having a go, just trying to understand what you are trying to do so that I can help.
Problem is when you want connect some WWW page (normal HTML page) with APEX app via <IFRAME>.
IE6 blocked cookies from third party side (APEX) and you can't login. When I open APEX site independent (not in frame) everything is OK, but in my case I need FRAME.
Problem is known for example: [http://viralpatel.net/blogs/2008/12/how-to-set-third-party-cookies-with-iframe.html]
According this I want send to frame CP in the HTML HEADER. or mayby other solution for my problem (APEX in the frame)
Any APEX app requires authentication (even if that authentication is 'No Authentication') of some kind. Are you trying to access it from another web page or using SSO, or is your custom authentication scheme referencing something tabular within your database?
Cookie management is handled by the browser and therefore not necessarily applicable to the APEX app that you are trying to access unless you are already authenticated within the same session.
I'm not sure what exactly you are trying to achieve in your web page, accessing an Apex region or page within an iframe without any kind of authentication within the Apex app itself?
Sorry, if I have misunderstood, maybe you could post an example on apex.oracle.com and show me what you are trying to do and we should be able to help.
Found solution !!
I add this section to httpd.conf (Apache proxy)
*<IfModule mod_headers.c>* Header set P3P "policyref=\"/w3c/p3p.xml\", CP=\"NOI DSP COR NID CUR ADM DEV OUR BUS\""
And now IE 6+ works OK.