Hi, i have some pages that only registered members can view. If the session Logged = 0 meta frefresh to fail.php . This works, but it loads the protected page then decides about 5 seconds later you cant access that page, i know its because meta refresh is slow, what can i use instead? Thanx
my code is like this:
<?php session_start();
if($_SESSION['logged_in'] == 0)
echo'<meta http-equiv="refresh" content="2;url=http://ss.shotgunforum.com/fail.php"> ';
else {}
?>
Thanx again.