Where do I need to set the P3P header to bypass IE8 blocking in IE8?

I am including a javascript file on my page with a Set-Cookie header. However, the cookie is being blocked by IE8.

Where can I customize the P3P response header to prevent IE8 from blocking in a cookie, in a javascript file request, or in my web page?

+2


a source to share


2 answers


I have set up a test case and it seems that the P3P response header should be obtained from the javascript request.



0


a source


You have to add the below code to the login javascript / servlet file or put the first response.

response.addHeader("P3P","CP=\\\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\\\"");



Please let me know if it doesn't work.

0


a source







All Articles