I could be wrong, but since you are using register_globals, I believe that it is making the variables one in the same.
i.e.
<?php
session_start();
//string variable set
echo $status = 'Active';
//session variable set
$_SESSION['status'] = $status;
//register_globals takes over making $status the same as the $_SESSION
$status = '';
//$status was just erased, which erases $_SESSION because they were linked
echo $_SESSION['status'];
//returns nothing
?>