....and you will probably want to do it within the application with cfexecute to get the name at the time of the exception. If the IT guys can't tie an IP to a machine by the time you call in, then chances are that the IPs are dynamic and change often (ewww)
But... AFAIK, you will only be able to get the computers client name through a local DNS with nslookup. If you dont have a local dns server then you may have a problem. Another tedious way would be to cfexecute a 'net view' then loop over the names returned and ping each one (1 time [ping xxx.xxx.xxx.xxx -n 1]) until the IP returned matches the one you are looking for. A batch file shouldn't be to hard to write for that (you'd look for something in the return like "computername [IPADDRESS]. If you find it, that's the one.) but depending on the number of PCs in the network, something like that could take quite some time to process. ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----Original Message----- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Thursday, December 07, 2006 7:40 AM To: CF-Talk Subject: RE: Retrieve RemoteName > I have built an intranet portal which is accessible > internally and externally. If I could get the internal DNS > name that would be a start. As most of my errors are > occurring with internal IP addresses. I have found that users > here would rather find a workaround then call for help. If I > can get there DNS name I can cross reference that name with > the database the network guys have and locate the user. Then > I call them and recreate the situation and fix the issue. Then you can use nslookup, either from within your application, or manually when you call them. If you do it from within your application, you could use CFEXECUTE to invoke the nslookup command-line tool, or you could use a Java class that provides similar functionality. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263115 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

