Hi, I happened to see these posts, and think it's important to look at these cautions (simply copied from the manual).
These are especially crucial since in current versions of PHP the register_globals are off by default (as they should be)...
Hope that helps - Henk
----- snip ------
Caution
If you want your script to work regardless of register_globals, you need to use the $SESSION array. All $SESSION entries are automatically registered. If your script uses session_register(), it will not work in environments where register_globals is disabled.
Caution
This registers a global variable. If you want to register a session variable from within a function, you need to make sure to make it global using the global keyword or the $GLOBALS[] array, or use the special session arrays as noted below.
Caution
If you are using $_SESSION (or $HTTP_SESSION_VARS), do not use session_register(), session_is_registered() and session_unregister().