I use session ids a lot.
Important steps to remember
at the beginning of each .php page you are calling use <?session_start();?>
then register the variable names NOT variables that you want carried over to those pages ie
session_register ( "name" );
this should then carry the variable $name throughout your whole session - again providing you use the session_start at the beginning of each page