$_session variables code example
Example 1: php session variables
<?php
session_start();
$_SESSION['var'];
?>
Example 2: $_SESSION php example
<?php
session_start();
echo session_id();
?>
<?php
session_start();
$_SESSION['var'];
?>
<?php
session_start();
echo session_id();
?>