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.

Cheers,
Nigel

MIS Web Design
http://www.miswebdesign.com/

-----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 ?

thanks
Kumar.
vel@sympatico.ca
Received on Sunday, 16 March 2003 18:13:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:54 GMT