vBulletin Cookie Sharing

Soldato
Joined
14 Feb 2006
Posts
4,644
Location
Surrey, UK
Hi all,

Right so I'm working on this site which uses a vBulletin forum. And the usernames and passwords used for the forum are also used for the usernames and passwords for the main site.

So
and
use the same usernames and passwords from the same database.

Now here's the problem. When a user logs into the main site, it logs them out of the forums. And vice versa.

Any ideas?

Jon
 
Soldato
OP
Joined
14 Feb 2006
Posts
4,644
Location
Surrey, UK
Just to the main site, ie:

mysite.net.

If it is a naming conflict, what's the best way to sort that out? Seperate cookies for each part, or the same cookie for both?

Jon
 
Associate
Joined
5 Mar 2007
Posts
649
Location
London
Realistically I doubt it's a naming conflict as vB uses a naming convention that's unlikely to be reproduced.

For a quick test try print_r($_COOKIE) using PHP; also temporarily set your site cookies to www.site.com and see if that makes a difference.
 
Back
Top Bottom