Exactly my question!!!! I'm trying to set domain-wide cookies, and it works with .mydomain.com on all browsers except for NS 4. On 12/20/02 12:38 PM, "Jim Kutter" <zope-list@ebizq.net> wrote:
That brings up a good question.
Netscape's cookie docs (http://wp.netscape.com/newsref/std/cookie_spec.html) state that "Only hosts within the specified domain can set a cookie for a domain and domains must have at least two (2) or three (3) periods in them to prevent domains of the form: ".com", ".edu", and "va.us". "
At least two or three? Then how do we set domain wide cookies? Is that even kosher? Or do we need to explicity set what subdomains/hosts we want to offer those cookies to?
-jim ----- Original Message ----- From: "Passin, Tom" <tpassin@mitretek.org> To: <zope@zope.org> Sent: Friday, December 20, 2002 12:13 PM Subject: RE: [Zope] Netscape 4, cookies and domains
[ Dieter Maurer]
Chris Muldrow writes:
I read that before I sent my question! But I'm setting .mydomain.com as my domain name, and netscape is not recognizing that the cookie applies to http://mydomain.com There are restrictions on the domain specification length.
Maybe, you domain does not contain enough "."s.
The domain name should not start with a "." AFAIK.
Cheers,
Tom P
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )