House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Getting coldfusion server name

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Uday Patel
05/28/2012 12:41 AM

Hi, Is there a way to get machine name where coldfusion is running. I know in CGI scope i have server_software, server_protocol .... but i need the name of the machine

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Andrew Scott
05/28/2012 01:03 AM

createObject( 'java', 'java.net.InetAddress' ).getLocalHost().getHostName(); -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Mon, May 28, 2012 at 2:41 PM, Uday Patel <udayjpatel2002@gmail.com>wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Russ Michaels
05/28/2012 05:17 AM

Also might be in server scope. Try dumping that out. On May 28, 2012 6:03 AM, "Andrew Scott" <andrews@andyscott.id.au> wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Uday Patel
05/29/2012 01:55 AM

>Also might be in server scope. Try dumping that out. >On May 28, 2012 6:03 AM, "Andrew Scott" <andrews@andyscott.id.au> wrote: > >> Thanks all for your reply, I will check it out.


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 19, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference