make sure you have @session_start(); on the page before referencing session variables.
it may be that you have the wrong session variable name.
use this code to dump all sessions and find the correct name:
<?php @session_start(); var_dump($_SESSION); ?>