Codice PHP:
//index.php
session_start();
$_SESSION['id']="123456"
Codice PHP:
//user.php
session_start();
echo 
$_SESSION['id']; 
prova