Log in

View Full Version : How to use the session.php file?


echarcha
04-09-2002, 10:44 PM
I have read the session.php file which is supposed to maintain either cookie based or sessionhash based sessions for users.

Now my question is this - I would like to develop a add-on for vbulletin. This addon would have a few different pages. Now how do I incorporate session.php into my add-on.

Is there a way where I just include session.php at the top of my php file and continue my coding below?

Admin
04-10-2002, 09:56 AM
For starters, you can't just require sessions.php at the top of the file because it uses vB's database class and probably some other variables generated by vB.
I'd require global.php then proceed from there.