Ver originalsession_start(); if($_SESSION["autentificado"]!="SI"){header("Location: login.html");session_destroy();exit();}