PHP can "loose sight" of the session collection.
On any page where you wish to use session information, you should include the following code before calling the session variable:
<?php if(!session_id()) session_start(); ?>
this will force PHP to look for the session collection.
I often add that code to my connections file or another include file that is on every page in the site to make sure it is always present without having to think about it.