It looks to me that both IE and Netscape follow the original Netscape spec
for cookies (see http://www.netscape.com/newsref/std/cookie_spec.html) and
not RFC 2109.
In 2109 there is a Set-Cookie request header that has a $domain attribute
and
RFC2109 states that "The value for the domain attribute must be the value
from the Domain attribute, if any, of the corresponding Set-Cookie response
header" but the original Netscape spec. makes no mention of the $domain
attribute for the Set-Cookie header.
Doing packet traces for both NS and IE shows that they both only send
"Set-Cookie: Name=Value" as the header and no extra values. Setting the
version makes no difference in either case!
Kevin Jones
DevelopMentor
www.develop.com
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Jason
> Hunter
> Sent: 08 September 2000 02:13
> To: [EMAIL PROTECTED]
> Subject: Re: domain value of the Cookies in Servlets
>
>
> > Actually, I believe it is not, and that may be the problem here. I
> > seem to recall from Jason Hunter's book (which I don't have handy, so
> > I can't verify) that only a limited subset of the available
> > information about cookies is available to the server.
>
> Yep, if you look at the info the client sends to the server that
> information isn't provided. Thus the methods don't return anything
> interesting for cookies received from the client.
>
> Pretty much you can ignore their existence. :-)
>
> -jh-
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html