Log in

View Full Version : VBulletin Username & Password Sessions record.


Mohajer
04-04-2008, 10:27 PM
I want to call Username && Password Session Variables in my own php file for authorize , i do it successfully with cookies.

I want to know how i can Authorize users in another pages with sessions.

when users login with cookie(True : Remember me CheckBox) then i use bbuserid and bbpassword and then use checkup for use in another php pages.

But What about When a user dont use "Remember Me Checkbox" ,i see there is no cookie for users that dont use remember me.

How i can use Authorize for such users ?

I need to know the name of Sessions for username and password.
for example $_SESSION['username']

--------------- Added 05 Apr 2008 at 06:01 ---------------

vbulletin dont use cookies when an user login with uncheck remember me
check box ? when use which variables to check correct user in every page?

Dismounted
04-05-2008, 05:27 AM
You should look at vBulletin's login box and replicate what it does.

walidaly
04-06-2008, 10:47 PM
I am having some trouble with vB_Session on a high traffic server, vB_Session is not able to set the session hash on a cookie, I'm not sure why?

--------------- Added 1207528879 at 1207528879 ---------------

I added "$vbulletin->GPC['cookieuser'] = 1;" to login.php to force setting a cookie but I would like any suggestion for fixing setting session on lighttpd 1.4.19 with high traffic.