[thelist] ASP Cookie Setting Question

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


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.


Chris Blessing
webguy at mail.rit.edu

> 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