Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Re: Authentication system

Quote Reply
Re: Authentication system In reply to
Not, "out of the box", but it's pretty easy. Basically, just add:

my $s = $in->param('s') | | $in->cookie('s');
my $user = &authenticate($s);
if (!$user) {
... # error page/redirect to login
}
else {
... # rest of add or modify.cgi
}

You just want to make sure a user is logged in before you allow them to do anything in add or modify.

Hope that helps,

Alex
Subject Author Views Date
Thread Authentication system pdatoon 2825 Jan 1, 2000, 8:34 PM
Post Re: Authentication system
Alex 2717 Jan 4, 2000, 7:17 AM
Post Re: Authentication system
pdatoon 2714 Jan 4, 2000, 7:38 AM
Post Re: Authentication system
widgetz 2717 Jan 19, 2000, 9:55 PM
Post Re: Authentication system
widgetz 2706 Jan 20, 2000, 10:08 AM