Sean,
I _think_ you would use a custom_response for this case. Do you have the
mod_perl (Eagle) book? I'm sure it will have the info you need. Oh wait, I
have mine here at work...
First, it would be easier if you were using cookies. ;-) Then you could use
Apache::AuthCookie. But I digress.
Page 282-5 of the Eagle book has the answer:
sub handler {
my $r = shift;
my ($res, $pw) = $r->get_basic_auth_pw();
my $user = $r->connection->user();
...
# timed out - force authentication again
$r->note_basic_auth_failure();
return AUTH_REQUIRED;
}
HTH,
Drew
At 03:16 PM 4/23/02 -0400, Sean Quinlan wrote:
>The basic set up is that I'm currently using basic auth with my own
>authentication and authorization handler. Everything is working OK so
>far, but when the users session times out, we want to require them to
>log in again. How do I either scrub the header or force Apache to resend
>the login request?
======================================================================
Drew Taylor JA[P|m_p]H
http://www.drewtaylor.com/ Just Another Perl|mod_perl Hacker
mailto:[EMAIL PROTECTED] *** God bless America! ***
----------------------------------------------------------------------
Speakeasy.net: A DSL provider with a clue. Sign up today.
http://www.speakeasy.net/refer/29655
======================================================================