Codice PHP:
session_start();
$_SESSION['var']=$_POST['var']; 
prova così.
e ricordati session_start anche nella pagina dopo.