If you have register globals on in PHP, then automagically all your Session variables become their own global variables with the correspondig session name...
i.e.
$session['name] == $name
$session['user'] == $user
etc etc
The same way that $HTTP_POST_VARS and $HTTP_GET_VARS get set in the same situation, i.e.
$HTTP_POST_VARS['name'] == $name
$HTTP_POST_VARS['user'] == $user
Pretty simple really 🙂