[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Small question about $ENV{'REMOTE_USER'}



Hello,

other day, other question, and I hope to get many replies again :-)

Now I am working on the same intranet, on which I use .htaccess as
protection for login. This way, I also know the username, through
$ENV{'REMOTE_USER'}, coupled to a small database. So far, no problem.

The problems occur when I try to have a button in a form which is made
on the fly by a CGI. When the CGI gets called "by itself" (HTML page
built by the CGI on first run), the $ENV{REMOTE_USER'} equals "", and no
longer the username.

Anyone has a reason for this ? Could it be because the CGIs are each in
a separate directory inside the one that is protected ?

Thanks for an answer,

Thomas


# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org