Quote:
Originally Posted by Hurricane
I have a cookie question:
I run my "Home Page" on one domain (we will call it domain1.com) and my forum on a different domain (we will call it domain2.com). I want to know if there is a way to set the cookie for both domains when a user logs into either the VBAdvanced Site or the forum.
Any help is appreciated.
|
No, the cookie is generally set for the domain so will not be accessible from another domain.
You may be able to get around this by using a subdomain e.g. home.domain.com and then forums.domain.com and have those hosted seperately if you care to do that... this way you could just set the cookie against domain.com.
But you will not be able to have a cookie set by domain1.com available to domain2.com without some serious work (re-direct domains, cookies set against the re-direct domain).