Codice PHP:
<?php
if(!session_id()){
  
session_start();
}
?>