[thelist] cookies

Chris Evans chris at fuseware.com
Thu May 17 16:12:53 CDT 2001


You can set a cookie for root level domain if you use a preceding dot.  For
example, a cookie set for .fuseware.com will be readable at
www.fuseware.com, www2.fuseware.com, and so on.

If you set a specific cookie for www.fuseware.com, though, only that server
can read it.


Chris Evans
chris at fuseware.com
http://www.fuseware.com



-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Ryan Finley
Sent: Thursday, May 17, 2001 4:50 PM
To: 'thelist at lists.evolt.org'
Subject: RE: [thelist] cookies


<<
Ok, then just to double check.

If www.domain.com sets a cookie, something.domain.com
can read it?
>>

Nope.  The domain has to be EXACTLY the same.

That is, if they type "domain.com" instead of "www.domain.com", the cookie
won't work.

That's why it's a good idea to automatically detect and redirect people to
"www.domain.com".


	Ryan Finley
	President - SurveyMonkey.com (http://www.surveymonkey.com)

---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !






More information about the thelist mailing list