<?phpsession_start();if ($_SESSION['logueado']!="si"){header("Location: password.php?msj=NECESITAS ESTAR LOGUEADO");exit();}?>