Codice PHP:
ob_start();

if (!isset(
$_SESSION)) {
  
session_start();