Adam Gotheridge wrote:
>
> How do I get the username someone entered in a http authentication prompt?
>
> I got authDBI working, but I can't figure out hot to access the user name which
> was passed so that I can use it in further sql-dml statements.
sub handler {
my $r = shift;
my $user_
On Tue, 04 Apr 2000, Adam Gotheridge wrote:
> How do I get the username someone entered in a http authentication prompt?
>
> I got authDBI working, but I can't figure out hot to access the user name which
> was passed so that I can use it in further sql-dml statements.
Try this:
my $r = shif
> How do I get the username someone entered in a http authentication prompt?
>
> I got authDBI working, but I can't figure out hot to access the user name which
> was passed so that I can use it in further sql-dml statements.
>
$r->connection->user(), or $ENV{REMOTE_USER} if you're in CGI emula