Re: Authentication logic [was: Changing browser URL based on condition]

Perrin Harkins <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAC0_be3n33Aoe5jy4nWb7+2YOYs8=jOE9hnPcEiDqy6JAyt+EA@mail.gmail.com>
On Tue, Jul 12, 2011 at 8:45 AM, Vincent Veyron <[email protected]> wrote:
> -Is there anything wrong with my process?

If it's working for you, then it sounds fine.  Needing to invoke
mod_perl on every hit could be bad if you're trying to protect a lot
of otherwise static pages, but it doesn't sound like you are.  The
file storage of sessions is also limiting (i.e. no clustering), but if
you aren't having trouble with it, no need to change it.

> -What does Apache2::AuthCookie do that I don't already have?

It might have better cookie security.  Mostly it's just the general
advantage of using shared open source code over in-house code that has
no other users improving and debugging it.

- Perrin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.