Axe
12-23-2002, 08:54 PM
I guess vBPortal's a kinda hack (it does mess with some vB core files, heh).
I've just setup vB, PhotoPost & vBPortal. Each of the three are on diff sub-domains. (vB is forum., PhotoPost is gallery., and vBPortal is www.).
Now, vB & PhotoPost are working flawlessly. I set both of their domains up as .mydomain.com, you login on one, it works for both, you logout in one, again, it works for both.
vBPortal seems hard-coded to do the cookie only for the domain vBP is running on (in this case www.mydomain.com).
Logging out in vBP doesn't log me out of the forum or gallery, but I do remain logged out of vBP. Logging out of the forum or gallery logs me out of both of those, but I still show as logged in on vBP. Logging in through vB or Photopost shows me as logged in on the main vBP page, but when I go into vBP admin, it asks me to login again.
I'm pretty sure this is all to do with the domain cookie.
My cookie skills in PHP ain't exactly great, and I was wondering if anybody had messed with vBPortal to get it to use .mydomain.com instead of the complete hostname vBP is running on (www.mydomian.com).
I've just setup vB, PhotoPost & vBPortal. Each of the three are on diff sub-domains. (vB is forum., PhotoPost is gallery., and vBPortal is www.).
Now, vB & PhotoPost are working flawlessly. I set both of their domains up as .mydomain.com, you login on one, it works for both, you logout in one, again, it works for both.
vBPortal seems hard-coded to do the cookie only for the domain vBP is running on (in this case www.mydomain.com).
Logging out in vBP doesn't log me out of the forum or gallery, but I do remain logged out of vBP. Logging out of the forum or gallery logs me out of both of those, but I still show as logged in on vBP. Logging in through vB or Photopost shows me as logged in on the main vBP page, but when I go into vBP admin, it asks me to login again.
I'm pretty sure this is all to do with the domain cookie.
My cookie skills in PHP ain't exactly great, and I was wondering if anybody had messed with vBPortal to get it to use .mydomain.com instead of the complete hostname vBP is running on (www.mydomian.com).