perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Davis <>
Subject Re: Authentication
Date Thu, 03 Aug 2006 13:14:07 GMT

On 8/3/06 7:51 AM, "Vladimir S. Tikhonjuk" <> wrote:

> Hi all!
>     I'm thinking about 2 methods of authentication users for my site.
> May be you'll help me to choose one of them, or advice me something else.
>     The first method: using PerlAuthenHandler on '/' Location.
>     The second method: simple handler, for example
> http://localhost/login, which checks login and password, If everything
> is O.K. make session, send cookie with session id. And another handler
> which checks every reqest for Cookie with session id and desided whether
> to give access or not.
>     Disadvantage (as I think) of first method: before every request make
> SQL query to the database for varification login and password.

You can do both.  See things like:


View raw message