Re: authenticated user

2000-04-04 Thread Roger Grayson
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_

Re: authenticated user

2000-04-04 Thread Michael Finke
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

RE: authenticated user

2000-04-04 Thread Eric Cholet
> 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

authenticated user

2000-04-04 Thread Adam Gotheridge
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.