inet = CreateObject("java", "java.net.InetAddress");
inet = inet.getLocalHost();
inet = inet.getHostName();
writeOutput(inet);
</cfscript>
~Simon
Simon Horwith
CTO, Etrilogy Ltd.
Member of Team Macromedia
Macromedia Certified Instructor
Certified Advanced ColdFusion MX Developer
Certified Flash MX Developer
CFDJList - List Administrator
http://www.how2cf.com/
-----Original Message-----
From: Dan O'Keefe [mailto:[EMAIL PROTECTED]
Sent: 06 March 2004 17:20
To: CF-Talk
Subject: Re: Getting computer name via variables?
Ben Forta wrote:
> A reverse DNS lookup? There are UDFs for this at www.cflib.org, and
> tags in
> the latest DRK.
>
Thanks everybody for the suggestions, but I do not think any of this
will achieve what I am trying to do, which is the following: Lets say I
have a server farm, and in my error handling emails I receive, I want to
know "THE WINDOWS MACHINE NAME". Nothing to so with IIS or the web. That
way I will know the specific box that generated the error.
Dan
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

