I've found that registering the session variables doesn't make them avaiable immediately. I needed to access session variables in a class, but if I tried to use that class on the same page where I originally started the session and registerd the variables the variables weren't in the $HTTP_SESSION_VARS array.
You might be experiencing something similar. I don't have any solution, but maybe that will help you move forward.