good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Mimicking htaccess user authenticationby Cubes (Pilgrim) |
on Aug 02, 2001 at 14:47 UTC ( [id://101622]=note: print w/replies, xml ) | Need Help?? |
You can find out all about HTTP authentication in
RFC 2617.
You can find the user's authentication info in the HTTP
header fields of their request after your "Unauthorized" response status.
CGI.pm has an http() function which should allow you to grab arbitrary headers from the request.
In Section
Seekers of Perl Wisdom
|
|