Quote:
Originally Posted by Hippy
thanks for your efforts guys..
that change does hold the session but
now this is the error in the apache error log
PHP Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /forum/holdsession.php on line 19,
witch is this line now
PHP Code:
$session['sessionurl_q'] = '?'.vbulletin->session->vars['sessionurl_q'];
|
Surely that should be:
PHP Code:
$session['sessionurl_q'] = '?' . $vbulletin->session->vars['sessionurl_q'];
Also I'm certain the echo should be:
PHP Code:
echo '<meta http-equiv=\'refresh\' content=\'' . $secs . '; URL=' . $vbulletin->options['bburl'] . '/holdsession.php' . $session['sessionurl_q'] . '\'';
Otherwise why set $session['sessionurl_q] and append the "?" in the first place?
Driving me bonkers this!