PDA

View Full Version : vB3's sessionhash variable


inthezone
05-05-2006, 10:18 PM
I'm upgrading my vB2 to vB3, and am changing around the site that the board is integrated with.

I've updated most of it to adhere to vB3's new variable names, but can't seem to find the new one for sessionhashes. What was it changed to?

This is 3.5.4, BTW. I came across this thread (https://vborg.vbsupport.ru/showthread.php?t=97143) and tried:

$vbulletin->session->vars = $vbulletin->session->fetch_session($vbulletin->userinfo['userid']);
$session['sessionhash'] = $vbulletin->session->vars['sessionhash'];

but the sessionhash changes every time you load another page, or refresh the current one.