RE: cookie question.

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 UTC