Log in

View Full Version : Session Id of the members logged in.


mani_manya
12-08-2005, 05:40 AM
Hi!

We are about to add a feature in our corporate web-site where we are required to store user's information. Now for tracking the user's information (like user_name) we should have an access to session variable that stores user names in vBulletin but, I am unable to do so. Can some one please help in this regard.

Looking forward to your help.

Thanks,

Mani

Marco van Herwaarden
12-08-2005, 06:45 AM
Include global.php in the top of your script (there are a lot of threads and tutorials showing how to do that), and you will have the username available as $vbulletin->userinfo['username'].