W3C home > Mailing lists > Public > www-html@w3.org > March 2003

RE: cookie question.

From: Nigel Peck - MIS Web Design <nigel@miswebdesign.com>
Date: Sun, 16 Mar 2003 23:12:46 -0000
To: "Kumar Mahadevan" <kumar.mahadevan@sympatico.ca>, <www-html@w3.org>
Message-ID: <BFECLKEDIHDIPFDEBCFNKEFKDNAA.nigel@miswebdesign.com>

This is off topic for this list for future reference.

The answer is just set the domain in the cookie to .example.com

The important part being the dot at beginning.

If you have further questions please direct them to the HTML Writers Guild
http://www.hwg.org/, this list is for discussing the (X)HTML standards.


MIS Web Design

-----Original Message-----
From: www-html-request@w3.org [mailto:www-html-request@w3.org]On Behalf Of
Kumar Mahadevan
Sent: 13 March 2003 21:08
To: www-html@w3.org
Subject: cookie question.

The question is:
can server a.serverOne.com read the cookies set b.serverOne.com ?
i.e: can servers in the same domain read each other's cookies ?
I know one way this can be achieved is by setting the "domain" attrinute in
the Javascript setCookie ( ) function .
any other way this can be achived ?

Received on Sunday, 16 March 2003 18:13:10 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:03 UTC