CODE (There is no display)
<?php //get the cookie that was set up on the login process page $user_access= $_COOKIE['user']; //use an if statement to stop the user from continuing on the page if he does not have access if($user_access=='') { //use the header command to send the user back to the login page to gain access header('LOGIN PAGE'); } ?>