{"id":576,"date":"2010-03-12T10:21:11","date_gmt":"2010-03-12T16:21:11","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/archives\/000576"},"modified":"2010-03-12T10:21:11","modified_gmt":"2010-03-12T16:21:11","slug":"how-to-get-ie-to-accept-third-party-cookies","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/576","title":{"rendered":"How to get IE to accept third party cookies"},"content":{"rendered":"<p><a href=\"http:\/\/en.wikipedia.org\/wiki\/Third-party_cookie#Privacy_and_third-party_cookies\">Third party cookies<\/a> are most often used by ad serving companies, because they are set by an image or other resource that can be pulled from a different domain, they are one way of tracking behavior across websites.<\/p>\n<p>A short example: If I visit site A (www.foo.com) and site B (www.bar.com) and they both pull an image from site C (www.baz.com), it can set cookies for the site C domain (.baz.com), with a value of siteA or siteB.\u00a0 Then when I visit site C, it &#8216;knows&#8217; that I&#8217;ve been to sites A and B.<\/p>\n<p>This can be sinister (see the wikipedia link above for privacy concerns).\u00a0 However, if you have multiple web properties, then you may want to tie user behavior together across properties.\u00a0 Third party tools like Google Analytics offer one way to do this, but if you want custom application behavior, then third party cookies are probably the way to go.<\/p>\n<p>Firefox (at least my version of firefox, without any add ons or <a href=\"http:\/\/support.mozilla.com\/en-US\/kb\/Disabling+third+party+cookies\">options changes<\/a>) treats third party cookies much the same as first party cookies; that is, they just work.\u00a0 However, IE requires a bit more hoop jumping, as <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms537343%28VS.85%29.aspx\">they check the p3p compact policy<\/a>.\u00a0 A compact policy is basically a header you set which looks like this: <code>P3P: CP=\"CAO PSA CONi OTR OUR DEM ONL\"<\/code>.\u00a0 I looked around for an easy explanation of what the various values are and how to set them in a coherent manner, but didn&#8217;t run into anything very useful.\u00a0 However, I finally stumbled on <a href=\"http:\/\/evolt.org\/node\/20756\">this tutorial<\/a>, which <a href=\"http:\/\/www.alphaworks.ibm.com\/tech\/p3peditor\">points you to this IBM software<\/a>, which you can use to create a compact policy.\u00a0 The tutorial also walks you how to use that software, which is not entirely intuitive.<\/p>\n<p>As far as I can tell, IE doesn&#8217;t actually check for the existence of the corresponding policy file, nor does it care if the site does what the p3p header says it does, but it does require a valid compact policy.<\/p>\n<p>After you&#8217;ve added that header, IE (versions 6-8) will accept your third party cookies.<\/p>\n<p>[tags]third party cookies, compact policy, howto[\/tags]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Third party cookies are most often used by ad serving companies, because they are set by an image or other resource that can be pulled from a different domain, they [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37,20],"tags":[],"class_list":["post-576","post","type-post","status-publish","format-standard","hentry","category-tips","category-web-applications"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=576"}],"version-history":[{"count":0,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/576\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}