I have protected my site (which contains Perl CGI scripts and is served by IIS) as per
. As far as I can tell, the authentication works, but is handled transparently by IIS - ie. users aren't presented with a username/password dialogue, but simply logged in automatically.
But now I have another problem - I need to get the username of the person who's currently accessing the site.