$_SESSION['Active'] = 1; I have defined this in my login.php file.
if($_SESSION['Active'] ==1){ I am checking if this exists in my AdminControl File
echo "Hello"; when I login this works.
}
if (isset($_POST['submit'])) { this is the code that I used for going back to the AdminControl Page
header("Location: AdminControl.php");
exit();
}
When I go back to the Admin Control the Hello disappears.