mohammad6006
12-19-2014, 05:58 PM
my forum is in subdomain for example : forum.site.com
i have another sub domain for example : new.site.com
now i want use vbulletin user login or session in new.site.com
require global.php
and use $vbulletin->userinfo['userid']
now i have 2 question:
1. i can login with vbulletin username from new.site.com but but wont show i as logged in
and when change Cookies and HTTP Header Options -> Path to Save Cookies
to : .site.com
new.site.com problem solve but can not login from forum
what path i need to set for save cookies??
2. Is right way to using vbulletin or api is better?
i have another sub domain for example : new.site.com
now i want use vbulletin user login or session in new.site.com
require global.php
and use $vbulletin->userinfo['userid']
now i have 2 question:
1. i can login with vbulletin username from new.site.com but but wont show i as logged in
and when change Cookies and HTTP Header Options -> Path to Save Cookies
to : .site.com
new.site.com problem solve but can not login from forum
what path i need to set for save cookies??
2. Is right way to using vbulletin or api is better?