PDA

View Full Version : Use cookie set by VB om other domains


mariannet
02-25-2004, 08:13 AM
Hi

I have a large website where we use vbulletin. This website is now being split og moved to different domains.

If Vbulltin is on ex. www.domain1.dk is there any way to use the set cookie on ex. www.domain2.dk and www.domain3.dk ?

This is to use the vbulletin member section throughout the sites.

Andreas
02-25-2004, 08:32 AM
No. For security reasons cookies are limited to the originating domain.

AFAIK the only thing you could do is to run scripts on domain2.dk and domain3.dk that return 1x1 px transparent GIFs - and set cookies with the values they have been passed via URL.
You can then includes those images in the login/logout pages of domain1.dk so that the cookies will be set on all 3 domains.