put in $_SESSION variable 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();
?>