PDA

View Full Version : [solved] external vB 3.8.x integration: lastactivity in db won't update


Melchior
07-26-2010, 02:30 PM
hi there,

Currently I'm trying to integrate vb 3.8 into a customized programmed portal.

Basically I run this snipped (inspired of vBulletin bridge class (https://vborg.vbsupport.ru/showpost.php?p=2074434&postcount=4)) at very first in my application for initializing vB:
$cwd = getcwd();
define('THIS_SCRIPT', __FILE__);
define('CSRF_PROTECTION', true);
define('CSRF_SKIP_LIST', '');
$phrasegroups = array();
$specialtemplates = array();
$globaltemplates = array();
$actiontemplates = array();
chdir('3rdparty/Forum');
require_once('./global.php');
chdir($cwd);


this works fine. Depending on that I got login/logout functionality working by calling standard vB-functions.

But I get troubled with the db session - I never get the field 'lastactivity' in table 'session' updated :(

Any ideas to get this working? Would be sooo great :)

thx!
melchior

--------------- Added 1280158811 at 1280158811 ---------------

ah ok. I got it on my own :)

you've to run "exec_shut_down();"

:)