Checking Session Data
<? session_start( ); if (isset($_SESSION['FirstName'])) { /// your code here } ?>