<html> <head> <title>Admin Area</title> <link rel="stylesheet" href="ressources/css/bootstrap.min.css" crossorigin="anonymous"> </head> <body> <script src="ressources/js/bootstrap.min.js"></script> <?php session_start(); if($_SESSION['isadmin'] == 0) { die ('No rights for you! <meta http-equiv="refresh" content="0; URL=logout.php">'); } echo "heres the admin world"; ?>