Sergey Ivanyuk <[EMAIL PROTECTED]> wrote:
>Hi All.
>
>I'm trying to implement a real simple authentication scheme, where the
>login page sets a cookie to the users's browser, and unless the cookie
>is set, any request beyond the login page gets redirected to login.
>I've tried the PerlTransHandler, but the cookies aren't available to
>the handler for some reason. How is something like this normally
>done? I thought I was on the right track, but apparently that doesn't
>seem to be right. Thanks in advance.
I would suggest looking at some of the modules available on CPAN that do this
-- Apache::AuthCookie, for example, which uses the Authentication and
Authorization phases to do this.
--
James Smith <[EMAIL PROTECTED]>, 979-862-3725
Texas A&M CIS Operating Systems Group, Unix