This is a server issue. Your code, via the server, sends the 401 Authentication Required Header. The browser responds to this with the prompt and it sends this data to the server.....all good so far. Now If you can't see it either the browser is not sending it (highly unlikely), the server is not making it available or you are looking in the wrong place. As a sanity check I would dump the contents of %ENV just to see if the data is there.
print '<pre>',map{"$_ => $ENV{$_}\n"}keys %ENV, '</pre>';
In reply to Re: Basic HTTP Authentication
by tachyon-II
in thread Basic HTTP Authentication
by garyk83
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |