Forum Moderators: coopster
can anyone assit? cheers
deking
If you are setting a session variable upon authentication you can check to see if that exists in the beginning of the script:
if(![url=http://www.php.net/isset]isset[/url]($_SESSION['auth']))
[url=http://www.php.net/header]header[/url]("Location: http://www.example.com/login.php");
[url=http://www.php.net/exit]exit[/url];
}
Try something like that and see how it works out for ya. :)