First things first - turn off register-globals in your ini.
It is lazy method for coding and can have serious security implications! So its best avoided.
Regarding your sessions setting method - have a look at the php manual.
session_register is now depreciated - what version of php you running ?
// Use of session_register() is deprecated
$barney = "A big purple dinosaur.";
session_register("barney");
// Use of $SESSION is preferred, as of PHP 4.1.0
$SESSION["zim"] = "An invader from another planet.";
So give the $_SESSION method a go..