[thelist] ASP Cookie Setting Question

Chris Blessing webguy at mail.rit.edu
Fri May 24 09:50:01 CDT 2002


Josh-

As far as I know this is impossible because of certain security requirements
for cookies.  A cookie can only be read by the domain on which it was set
and only by a sub-domain if so specified when the cookie was set.  You
cannot set a cookie for an external domain nor can you read a cookie from a
different domain other than the current one.

HTH!

Chris Blessing
webguy at mail.rit.edu
http://www.330i.net

> Is it possible to host a page on one domain (www.foo.com) and
> that will set
> a cookie which can be read on another domain (www.bar.com)?  If
> so, how do I
> do it in ASP?
>
> I tried, but could not succeed.
>
> Thanks,
> Josh




More information about the thelist mailing list