Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [SKN] new file user login required...

Quote Reply
Re: [SKN] new file user login required... In reply to
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:

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
Subject Author Views Date
Thread new file user login required... jdgamble 6406 Jan 9, 2005, 1:33 PM
Thread Re: [jdgamble] new file user login required...
brewt 6198 Jan 9, 2005, 2:37 PM
Thread Re: [brewt] new file user login required...
jdgamble 6197 Jan 9, 2005, 3:05 PM
Thread Re: [jdgamble] new file user login required...
brewt 6183 Jan 9, 2005, 3:50 PM
Post Re: [brewt] new file user login required...
jdgamble 6208 Jan 9, 2005, 4:47 PM
Thread Re: [jdgamble] new file user login required...
SKN 6188 Jan 28, 2005, 2:39 PM
Thread Re: [SKN] new file user login required...
jdgamble 6155 Jan 28, 2005, 3:41 PM
Thread Re: [jdgamble] new file user login required...
SKN 6151 Jan 28, 2005, 3:52 PM
Thread Re: [SKN] new file user login required...
jdgamble 6143 Jan 28, 2005, 4:05 PM
Thread Re: [jdgamble] new file user login required...
SKN 6169 Jan 28, 2005, 4:26 PM
Post Re: [SKN] new file user login required...
jdgamble 6153 Jan 28, 2005, 4:50 PM
Thread Re: [SKN] new file user login required...
yogi 6154 Jan 29, 2005, 2:38 AM
Post Re: [yogi] new file user login required...
SKN 6158 Jan 29, 2005, 11:15 AM
Thread Re: [yogi] new file user login required...
jdgamble 6117 Jan 29, 2005, 6:07 PM
Post Re: [jdgamble] new file user login required...
yogi 6109 Jan 30, 2005, 4:07 AM
Post Re: [jdgamble] new file user login required...
courierb 5870 Aug 13, 2007, 12:23 AM