I got a login file which when the user logged in checks if the user is an admin. If so it will set a value like this:
$_SESSION['isAdmin_logged_in'] = $isAdmin;
If the user is an admin this is set to true and if not to false. However, when I try to check the isset on the admin page It won't work with
if (!isset($_SESSION['isAdmin_logged_in']) == 'true') { die("Admin only"); }
Is it even possible to check an isset for a specific value?