vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Timeout Problems (https://vborg.vbsupport.ru/showthread.php?t=158744)

metallicx 09-25-2007 04:31 PM

Timeout Problems
 
I am currently using the VBB user table as a means of authentication for users on my site but have ran into a problem. It seems as though after 10-15 minutes the login is timed out due to activity unless I go to the forum during that time.

I have scoured the vbulletin.org forum with no luck finding a means of fixing this problem.

Is there a function or other method that would allow the connection to remain active without visiting the forum each time?

I am currently already using the global.php file via syntax:

chdir($class->sitepath."/forum");
require_once "./global.php";

$class->sitepath being the path to the forum obviously. I can also print_r the $vbulletin session array successfully (which is what I use in cases of needing to check if a user is logged in) $vbulletin->userinfo['userid'] != '0'

The problem is that I am unexpectedly timed out after 10-15 minutes and am not sure of what else to do to fix this problem.

Thanks for any help in advance!

Dismounted 09-26-2007 06:47 AM

Do you access global.php to authenticate for any activity?

metallicx 09-26-2007 02:15 PM

I use a login form to post to the login.php script and then use the global.php script to gain access to the $vbulletin session array.

Dismounted 09-27-2007 05:08 AM

I have no reason why it times out then :S.


All times are GMT. The time now is 05:31 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.03156 seconds
  • Memory Usage 1,706KB
  • 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
  • (4)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