The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi all,
I am in the middle of implementing a remote login to vBulletin 4. This is what i have and I wondered if somebody could explain why it isnt working! Both the main site and vB are on the same server and on the same domain; vB is running in a subfolder of the main site. The main site calls 'login.php?do-login' via cURL, posting username and password (MD5'ed like vB does). This works fine and a session record is created in the database. I then pass back via the headers the 'sessionhash' and use this to 'setcookie' in the users browser. Using Firebug, I can see the 'bb_sessionhash' cookie and its value. It's correct when I check it against the database. So, at this point I have a session record in the database and a 'bb_sessionhash' cookie in the browser - but I still dont get logged in when I go to the forum. What am I missing? Kind regards, Kharmer... |
![]() |
|
|