If you can use mod_perl, then try with
Apache::AuthCookie; module's documentation
is very clear about its benefits, it says:
- The client doesn't *have* to pass the user credentials
on every subsequent access. If you're using passwords,
this means that the password can be sent on the first
request only, and subsequent requests don't need to
send this (potentially sensitive) information. This
is known as "ticket-based" authentication.
- When you determine that the client should stop using
the credentials/session key, the server can tell the
client to delete the cookie. Letting users "log out"
is a notoriously impossible-to-solve problem of
- AuthBasic dialog boxes are ugly. You can design your
own HTML login forms when you use AuthCookie.
I found it quite interesting :) But this solves only
half of your problem: you need also session management,
right? Apache::Session could be an answer, but
you may need to put some glue between these two modules.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||