Cgi.remote_host can sometimes give you that info, but isn't always available (requires reverse lookups to have been setup, which isn't that common for workstations/isp customers). If you want the NetBIOS name or NT domain, you're going to have to do more work - this is non-HTTP info.
--- Billy Cravens -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of phumes1 Sent: Wednesday, April 24, 2002 5:57 AM To: [EMAIL PROTECTED] Subject: Re: Getting computer name via variables? Hi, I'm using the below cgi variable to get the ipaddress of the server. <cfset ipaddress = "#CGI.REMOTE_ADDR#"> How can I get the computer (server) name or domain? +----------------------------------------------------------------------- ------------+ Philip Humeniuk [EMAIL PROTECTED] [EMAIL PROTECTED] +----------------------------------------------------------------------- -------------+ ------------------------------------------------------------------------ - This email server is running an evaluation copy of the MailShield anti- spam software. Please contact your email administrator if you have any questions about this message. MailShield product info: www.mailshield.com ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org ------------------------------------------------------------------------- This email server is running an evaluation copy of the MailShield anti- spam software. Please contact your email administrator if you have any questions about this message. MailShield product info: www.mailshield.com ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org
