Re: [cfaussie] Re: getting server name of server

2010-08-12 Thread Brett Payne-Rhodes
I was going to suggest the cgi variables - http_host and server_name but a little bit of testing shows that these are related to the URL rather than the name of the physical machine which is what you want given the solution below. Thanks, could be very useful... B) On Fri, Aug 13, 2010 at 11:2

[cfaussie] Re: getting server name of server

2010-08-12 Thread BarryC
No matter! I have found the answer; Createobject('java','java.net.InetAddress').getLocalHost().getHostName() I knew I'd find it as soon as I posted on here :) On Aug 13, 3:21 pm, BarryC wrote: > Hi, > > We have several servers in a cluster, but I am wondering how to get > the name of the server

[cfaussie] getting server name of server

2010-08-12 Thread BarryC
Hi, We have several servers in a cluster, but I am wondering how to get the name of the server that a script happens to be running on, there is nothing in the cgi variable, are there any system level functions coldfusion has (I couldn't find any), or is there a way to call native functions to get

Re: [cfaussie] Recursive function giving me "500 null" error

2010-08-12 Thread Seona Bellamy
On 12 August 2010 16:27, Sean Corfield wrote: > On Wed, Aug 11, 2010 at 9:34 PM, Seona Bellamy wrote: > > > > > >... > > downTree(result); > > Bear in mind that this copies result so changes made inside downTree() > are on a copy, not the original, so after