I am some reason having trouble with this, my header redirect does not seem to work.
<?php
session_start();
if(!session_is_registered(myusername)){
header('Location:home.php');
exit;
}
?>
<html>
<body>
Login Successful
</body>
</html>