Comment #1 on issue 14 by canol.gokel: Cannot create multiple cookies on
some browsers
http://code.google.com/p/iliadproject/issues/detail?id=14I guess, this is because of the Set-Cookie line created in the response
headers. I couldn't find what the format should be for multiple cookies,
officially, but Iliad creates something like this:
Set-Cookie: cookie1=value1; path=/; expires=Tue, 06 Sep 2011 13:01:20 GMT,
cookie2=value2; path=/; expires=Tue, 06 Sep 2011 13:01:20 GMT
So, it separates multiple cookies via commas. Whereas, one of my ASP
applications which also sets multiple cookies creates a header like:
Set-Cookie: cookie1=value1&cookie2=value2; path=/; expires=Tue, 06 Sep 2011
13:01:20 GMT
So it writes cookie names and values one after another and separates the
cookies via an ampersand. This way it works fine with all the browsers I
tested.
In the RFC (
http://www.ietf.org/rfc/rfc2109.txt) it says:
Informally, the Set-Cookie response header comprises the token Set-
Cookie:, followed by a comma-separated list of one or more cookies.
I don't know if this is an issue of Iliad or Swazoo though :)