The only problem with your script burningr was you weren't setting the session variables to anything, so when you were testing them to be 'isset' they returned false because they were unset. Simply giving a value to them would have solved your problem.