I have this component which both displays and updates a database.
If the user wants to update a record I'd like the following to happen:
1) detect in the component that a DB update is attempted,
2) check if the user is already logged in by checking for login/password
presence in the Apache::Session %session hash,
3) if not, then instruct Apache to return a Basic Auth dialog prompting
for login/password,
3.1) get the login/password from the $r object and store it in
%session,
The tough part (and this is where a lack of mod_perl experience shows)
is: how do I tell Apache put itself in "Basic Auth mode" so that it will
prompt the user for his login/password? And it has to work in a Mason
environment.
I am digging into the mod_perl Guide at present for hints, but if
someone could give me just a quick shove up the learning curve it would
really help.
Thanks in advance,
--
Louis-David Mitterrand - [EMAIL PROTECTED] - http://www.aparima.com