in reply to HTTP authentication module

In CGI, the REMOTE_USER environment variable is set with this information. If you are using CGI.pm, you can access this with:
my $query=CGI->new(); my $user=$query->remote_user();
Otherwise you can do:
my $user=$ENV{'REMOTE_USER'};
I know no method of retrieving the password (that doesn't mean there isn't one though :) ).

Update: Removed comment that implied retrieving passwords is condonable (sp?). It's not.

CU
Robartes-

Replies are listed 'Best First'.
•Re: Re: HTTP authentication module
by merlyn (Sage) on Mar 20, 2003 at 19:22 UTC