> As someone else suggested, have a check on each page for a
> session variable
> (which of course is set when they login).
>
> <?
> if (!isset($sessionvariable) {
> header("Location:login.php");
> exit;
> }
> ?>
will do.. what excatly are session variables?
> This can be in an include file, as a function (just remember to globalise
> variables! I always forget :P), that way it will get checked on all your
> protected pages :)
globalise? there are no global variables in php, are they?;)
regards