kh99,
we are using file sessions in php and we have the forums on our website.com/forums then we are making a nodejs application on website.com:3000 that we want to use the forums account and permissions. While we have access to the cookies on our nodejs application all that we can get is the PHPSESSID because the bb_sessionhash is http only so we cannot read it.
What I have to do is read the cookies with javascript and forward them to a php parser in our nodejs application. So what I am doing is sending over the phpsessionid then setting the session_id() in php hoping it would load in the php session with the users vb account.
--------------- Added [DATE]1429671346[/DATE] at [TIME]1429671346[/TIME] ---------------
kh99,
Ok, i am able to get the bb_sessionhash with $_COOKIE however it doesn't seem to want to read it. Is there a way to force vbulletin to use a bb_sessionhash
--------------- Added [DATE]1429677979[/DATE] at [TIME]1429677979[/TIME] ---------------
Ok, I figured it out. I wasn't using https so the secure cookies were not being read properly by vbulletin
|