Re: Set-Cookie2: "additive" vs. "independent"

Foteos Macrides:
>
[...]
>	The problem is that you're counting on $Version=0; being treated
>as a bad cookie by the old server or script, and don't know what error
>handling it's using.  It indeed would be desireable for the UA to
>communicate that it supports version 1 or greater cookie handling in
>those cases for which it is using cached version 0 cookies and doesn't
>yet know if the server or script can handle new cookies.  The simplest,
>most efficient way might be to send:
>
>Cookie2: $Version="1"
>Cookie: realoldnameA=realoldvalueA; realoldnameB=realoldvalueB[; ...]

I very much support this way of doing things.  I think we have to
assume, until it is proven otherwise, that a lot of old-style CGI
scripts out there will break on seeing extra version stuff in the
Cookie header.  Some old style scripts may even do consistency checks
which cause them to go into some error recovery mode if they see
cookies with version stuff in it.

Transmitting the `I can do cookie-2' info in an extra header is the
only safe way.

>				Fote

Koen.

Received on Tuesday, 29 July 1997 11:39:05 UTC