[plt-scheme] net/cookie and IE

From: YC (yinso.chen at gmail.com)
Date: Wed Oct 8 17:39:29 EDT 2008

Hi -

I just found a problem with the interaction between net/cookie and IE (I
tested on IE7).

Basically - when generating a cookie with `(cookie:add-path cookie "/")`, it
generates the following cookie:

key=value; Path="/"; Version=1

The Path spec works in Firefox, but not in IE.  IE expects Path=/ (without
the double quotes) instead, and it drops the cookie (and breaks cookie-based
session) in response.

>From RFC 2109, this appears to be an IE bug, but changing IE's behavior
might be beyond us ... :)

p.s. this might be related the thread
http://www.cs.brown.edu/pipermail/plt-scheme/2007-July/019420.html

Thanks,
yc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20081008/e163493d/attachment.html>

Posted on the users mailing list.