PDA

View Full Version : VB4 Session & Cookie Variables (PHP)


tguillea
12-05-2010, 04:42 AM
I'm working on integrating a VB4 forum with a new site, but I need to know all the PHP session and cookie variables to complete this.

ex:

$_COOKIE['bb_lastvisit'];
$_COOKIE['bb_lastactivity'];
$_COOKIE['bb_sessionhash']; //?
$_SESSION['user_id']; //?
//...etc.


I've tried using javascript to view the cookies on the page (by putting "javascript:alert(document.cookie);" in the url bar of the browser), but I'm not sure if that's all the cookies for the auth system - I only found bblastvisit and bblastactivity.

So, does anyone know the session / cookie variables or where to find them?

--------------- Added 1291566094 at 1291566094 ---------------

Solution in https://vborg.vbsupport.ru/showthread.php?p=2129620#post2129620

All cookies, no sessions.

randyv12
12-10-2010, 08:50 PM
you can probably go in your normal forum template code plugin and just call print_output(print_r($vbulletin->session,true));die; and see all your session variables. is this what you are looking for? there's also $vbulletin->session->vars