Cookie Session Php

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