Hello,
I made an application which is using the technologies like myfaces, richfaces and facelets.
I have to implement a SSO for another website in <iframe> and for that matter I added the user information in the src of <iframe> in queryString. Everything works fine in Firefox and Chrome but when I tested in IE then its not letting it login. After searching I came to know that IE blocks the third party cookies. As I am accessing another website which is deployed on another server, IE takes the cookies from this site as third party cookies. After googling, I came across the p3p header thing, which needs to be added in each response like
HttpServletResponse resp = (HttpServletResponse) response;
resp.addHeader(“p3p”,“CP=\”IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\”“);
but after adding this with each response, still IE is blocking the cookies and didnt let the <iframe> src to complete the login request. Can anybody tell me any solution how to enable the cookies of <iframe> in IE?
I will really greatful.