If you have php installed you can do something like this to all of your html files.
At the top of each file, put this:
<?
$login_path = "";
if (empty($HTTP_COOKIE_VARS["s"])) {
header('Location: ' . $login_path );
return;
}
?>
Of course edit your path. If you have Community installed, the setup cookie name will be Community_Name or under Setup -> User Sessions...
Hope this helps,
- Jonathan
At the top of each file, put this:
Code:
<?
$login_path = "";
if (empty($HTTP_COOKIE_VARS["s"])) {
header('Location: ' . $login_path );
return;
}
?>
Of course edit your path. If you have Community installed, the setup cookie name will be Community_Name or under Setup -> User Sessions...
Hope this helps,
- Jonathan