PDA

View Full Version : Pass sessions from 3rd party to vbulletin


coeus
07-12-2005, 12:36 AM
Hi, I have a script that uses PHP sessions and I want to pass these sessions to vbulletin, however when I get to vbulletin the sessions seem to be all gone when I try printing the $_SESSION array. I've used session_start() but that doesn't work either. Any suggestions, thanks

Brad
07-12-2005, 04:52 AM
vBulletin uses its own sessions stored in the mySQL database, the reason why you can't pass the session is because vB doesn't use native php sessions.

Why are you trying to pass the session, login intergration?

coeus
07-13-2005, 08:48 AM
Ya, both the forum and main site share the same menu with vbulletin as a second menu on the forums. When a user is logged into the 3rd party script, some items should appear on that menu, so that menu is dynamically generated based on the sessions of the 3rd party script. Unfortunately vBulletin is not recognizing the sessions.