third party cookies in iframe
Call Cookie Functions In Iframe
Some browsers allow third party cookies and in some browsers, like Internet Explorer, it depends on the privacy
Settings of the browser. In IE6 (Internet Explorer 6) with the default privacy setting of ‘Medium’, third party
Cookies will be deleted.
As it turns out, there is a simple solution. If you supply a ‘compact privacy policy’ with your page, then IE
Will treat the cookies with respect and let them through.
ASP.Net code
HttpContext.Current.Response.AddHeader("p3p", "CP=\""IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""")
PhP code
header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');
For more information on this, please visit this url:
Http://viralpatel.Net/blogs/2008/12/how-to-set-third-party-cookies-with-iframe.Html
-reply by ask2gaurav
Comment/Reply (w/o sign-up)