php sessions get a session variable and modify it code example Example: php session variables <?php session_start(); $_SESSION['var']; ?>