You need to use the NT challenge and response option. However, this only works on NT-based OS like W2k and XP along with IE. (I'm not sure if it works with non-IE browsers.) With that enabled, cgi.auth_user will be populated with that value. However, doing this makes your users less "mobile". If I want to log into the web site from "your" computer, "you" have to log off of the console and "I" have to log on. I would rather be able to log on to a web site from any computer, or conversely, let anyone else log on to the web site from my computer while I'm still logged on to the console. You can achieve single sign-ons using other methods that were recently discussed here. Look for "Domain Cookies" as well. M!ke
________________________________ From: Stavros Tekes [mailto:[EMAIL PROTECTED] Sent: Thu 4/21/2005 6:54 AM To: CF-Talk Subject: get windows logon name Hi all, I am trying to find a way to get the users name that he used to login to windows. I want to create an application that gets personalized according to the person that is using it. To do that I need to have the login name he used to logon windows. (I do not want to bother him with re-entering his credentials once again for just my app). I have read about the CGI.auth_user but I am not sure this is the sollution. Will the user have to re-enter his credentials to access my application? (I realize that for CGI.auth_user to work the web server needs to supports user authentication but do I need to build a custom script for authentication or is it take automatically from the operating system, like a Single Sign On feature - which is what I am trying to do) Thanks in advance Stavros ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:203799 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

