Re: ASP response.cookies domain attribute

by "Srinivasan Ramakrishnan" <srinivar(at)md3.vsnl.net.in>

 Date:  Fri, 3 Nov 2000 15:31:59 +0530
 To:  "Phil Babcock" <pbabcock(at)bgsgroup.com>
 Cc:  <hwg-languages(at)hwg.org>
 References: 
  todo: View Thread, Original
Set a the same cookie with separate domain values, then each domain will be
able to read the same information.

for example x.com, y.com and z.com share common clients and wish to use the
same preference info. across all their sites, so they would do as follows.

Have JS write 3 different cookies with the same content but the domain value
being x.com, y.com and z.com respectively.

Now all sites are informed of the preferences of the user. Likewise updates
and deletions are done using JS. However the JS method while easy to
implement is clumsy and no user likes having 3 cookies where 1 would
suffice. Moreover JS may be disabled / not present on the client side.

Take a look at Hotmail, all users login via passport.com, not hotmail.com,
so the user is validated via passport.com and the fact that the user is
logged in is now visible to all passport member sites.

Srini



----- Original Message -----
From: Phil Babcock <pbabcock(at)bgsgroup.com>
To: Srinivasan Ramakrishnan <srinivar(at)md3.vsnl.net.in>
Sent: Friday, November 03, 2000 2:54 AM
Subject: Re: ASP response.cookies domain attribute


> Thanks for your reply...
>
>
> >Another way would be to use JS to set the cookie for each of the domains.
> Interesting... can you elaborate?
>
>

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA