The following is my block of code and still from the url user can access the admin page without been logged in.
Please, i need help
Code:
if(!isset($_SESSION["useradmin"]))
{
  header('Location: login_admin.php?error=Access denied'); 
  exit();
}