Thanks that did it exactly as needed! Neil
----- Original Message ----- From: "Ron Anderson" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, January 02, 2002 8:43 PM Subject: RE: Machine Name > Don't know if you would consider this SIMPLE, but here's what I use: > > <cfregistry > action="GET" > > branch="HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerNa > me\Act > iveComputerName" > entry="ComputerName" > type="Any" > variable="ComputerName"> > > <cfswitch expression="#ComputerName#"> > <cfcase value="Server1"> > <cfset request.serverid = "1"> > </cfcase> > <cfcase value="Server2"> > <cfset request.serverid = "2"> > </cfcase> > <cfdefaultcase> > <cfset request.serverid = "0"> > </cfdefaultcase> > </cfswitch> > > > > -----Original Message----- > From: Neil H. [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 02, 2002 5:39 PM > To: CF-Talk > Subject: Machine Name > > > Is there a server variable or a SIMPLE way to get the machine name? > > Thanks, > > Neil > > ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

