I echoed my variables to see if it was working and it appears to be working just fine. Using the code you listed works. Infact I used the following code and it worked.
<?php
session_start();
$redir = "Location: login.html";
header($redir);
exit;
?>
But once I use the IF statement, it dies on me.
<?php
sesstion_start()
$redir = "Location: login.php";
if (!$sesCustomerID) {
header($redir);
exit;
}
?>
I am positive that there is nothing else running, I am just trying to call the session variable I created on the page before and check to see if it has a value. If it doesn't, redirect.