Forums

This topic is locked

Setting Cookies on 1 site, using them on 2nd site

Posted 12 Aug 2002 21:32:44
1
has voted
12 Aug 2002 21:32:44 Mitchel Tendler posted:
Hi!

Either I am doing something wrong, or perhaps this cannot be done.

It is possbile to set a cookie with let's say a persons name on a site: www.site-one.com

And use that cookie on a different site: www.site-two.com

Both of the web sites are being hosted on different servers.

Thanks!

Mitch

Edited by - mitchelt on 12 Aug 2002 21:33:24

Replies

Replied 13 Aug 2002 12:20:19
13 Aug 2002 12:20:19 Stefan P replied:
I was reading up on this only yesterday in Wrox's Beginning ASP and to answer your question, no you can't retrieve a cookie set by a site on one server from a site another server. I guess this is to stop unscrupulous persons attempting to access cookies on your machine that may contain info that you only intended for use by the site that set the cookie?

Regards

Stefan

Reply to this topic