storing $_SESSION php code example Example: $_SESSION php example <?php session_start(); echo session_id(); ?>