{"id":519,"date":"2009-10-08T03:27:58","date_gmt":"2009-10-07T19:27:58","guid":{"rendered":"http:\/\/blog.lolyco.com\/sean\/?p=519"},"modified":"2009-10-08T03:28:21","modified_gmt":"2009-10-07T19:28:21","slug":"ie8-cookie-problem","status":"publish","type":"post","link":"https:\/\/blog.lolyco.com\/sean\/2009\/10\/08\/ie8-cookie-problem\/","title":{"rendered":"IE8 Cookie problem"},"content":{"rendered":"<p>It&#8217;s 3am, so this will be brief. Firefox, Opera and Google Chrome are all happily accepting HTTP cookies from wossis.com, but IE8 was gaily ignoring them. The problem is speech \/ quotation marks in the Set-Cookie line:<\/p>\n<blockquote><p>Set-Cookie: MIFS=&#8221;qVZziOA7&#8243;; Path=&#8221;\/&#8221;<\/p><\/blockquote>\n<p>&#8230;works in 3 out of 4 browsers. IE8 pretends it never saw it.<\/p>\n<p>Remove the quotation marks:<\/p>\n<blockquote><p>Set-Cookie: MIFS=ngv_Aesy; Path=\/<\/p><\/blockquote>\n<p>&#8230;and IE8 will recognise it. I do vaguely remember reading in <a title=\"Cookies!\" href=\"RFC2109\">RFC2109<\/a>, the bit about:<\/p>\n<blockquote><p>10.1.3  Punctuation<\/p>\n<p>In Netscape&#8217;s original proposal, the values in attribute-value pairs did not accept &#8220;-quoted strings.  Origin servers should be cautious about sending values that require quotes unless they know the receiving user agent understands them (i.e., &#8220;new&#8221; cookies).<\/p><\/blockquote>\n<p>&#8230;but was still surprised (for hours!) that IE8 wasn&#8217;t accepting a cookie that was acceptable to the other browsers. If this problem crops up for you, I hope you read this well before 3am.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s 3am, so this will be brief. Firefox, Opera and Google Chrome are all happily accepting HTTP cookies from wossis.com, but IE8 was gaily ignoring them. The problem is speech \/ quotation marks in the Set-Cookie line: Set-Cookie: MIFS=&#8221;qVZziOA7&#8243;; Path=&#8221;\/&#8221; &#8230;works in 3 out of 4 browsers. IE8 pretends it never saw it. Remove the [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,20],"tags":[107,109,41,57],"class_list":["post-519","post","type-post","status-publish","format-standard","hentry","category-broken","category-fixed","tag-broken","tag-fixed","tag-http","tag-web"],"_links":{"self":[{"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/posts\/519","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/comments?post=519"}],"version-history":[{"count":3,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/posts\/519\/revisions"}],"predecessor-version":[{"id":522,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/posts\/519\/revisions\/522"}],"wp:attachment":[{"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/media?parent=519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/categories?post=519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/tags?post=519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}