IE IFrame cookie

如果在test.html里有一个iframe,其src是test.jsp,在IE中test.jsp的cookie是无法识别的.

解决方案:
http://kaktos.iteye.com/blog/410543
http://adamyoung.net/IE-Blocking-iFrame-Cookies

在test.jsp中加入:
response.addHeader("P3P","CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"");

你可能感兴趣的:(iframe,IE,cookie无法识别)