If anyone has any more info on the problem of a session not propogating out of the forum pages please let me know.
I'm running a site that uses core vBulletin code for handling sessions and I need them to propogate to pages outside the forums. For about 95% of my users this works fine, but there's a small group where it fails. I am unable to reproduce this error myself so it's been quite frustrating to say the least.
For the coders, specifically I am using this code in a general "global" file that is included everywhere:
Code:
include_once("$php_include_path/forum/admin/config.php");
include_once("$php_include_path/forum/admin/db_mysql.php");
// DB info removed
include_once("$php_include_path/forum/admin/functions.php");
include_once("$php_include_path/forum/admin/sessions.php");
This defines the $bbuserinfo array that lets me determine if a user has a current session in place. So the particular problem is that when a user leaves a forum page, this array isn't being repopulated on the non-forum page for some reason. It's semi-related to some of the dicussion in this thread but no one had a definitive answer. Any help would be really appreciated, or at least some knowledge of what conditions might actually cause this. Thanks!