Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I find out who is signing in?

Status
Not open for further replies.

bigfoot

Programmer
May 4, 1999
1,779
US
If I have basic auth. set up on a web site. How can I get the user name that is signing in? I don't have control of the login box, as it's an NT thing that get's put up. So I don't know who is signing in, just that he/she is validated.

I'd like someway to get the username that is signing in so I can set up custom reports for them. :)

Any help would be appreciated.
 
Check out the Server Variables collection

strCurUser = Request.ServerVariables("LOGON_USER")

There are quite a few variables - and they refer to HEADER information that the browser sends to the server. One of these should contain the basic login info. (Content Management)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top