vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   VBulletin Username & Password Sessions record. (https://vborg.vbsupport.ru/showthread.php?t=175176)

Mohajer 04-04-2008 09:27 PM

VBulletin Username & Password Sessions record.
 
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 04:27 AM

You should look at vBulletin's login box and replicate what it does.

walidaly 04-06-2008 09: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 [DATE]1207528879[/DATE] at [TIME]1207528879[/TIME] ---------------

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.


All times are GMT. The time now is 08:52 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01576 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete