We do it with a custom tag like this:

on each machine we create a file called MachineName.cfm which simply
contains the name of the machine, e.g., dw_production. We store this is the
CustomTags directory. Then wherever we need the machine's name we just call
<cf_machinename>.


----- Original Message -----
From: "Glenn Shukster" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 01, 2002 1:32 PM
Subject: [CFTALKTor] Server specific information


> For debugging purposes we need to know which machine people are on.
>
> We were thinking of putting this in the footer, but also wanted this in
> the error information too.
> Currently we are using the default error handler.
>
> Because this is machine specific I wanted to keep it seperate from the
> rest of the cfm files.  That way on an update I don't accidently
> overwrite it.
>
> I was thinking of putting it as a cfset in its own file in its own
> subdirectory.
>
> What would be the best way to implement this?
> --
> Cheers
> Glenn Shukster (Logic Fundamentals Inc.)  Thornhill, Ont. Canada
> Phone:(905)771-6458   Fax:(905)771-6819   www.logicfundamentals.com
> President of TDUG  www.tdug.com
> -
> You are subscribed to the CFUGToronto CFTALK ListSRV.
> This message has been posted by: Glenn Shukster
<[EMAIL PROTECTED]>
> To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
> Manager: Kevin Towes ([EMAIL PROTECTED])
http://www.CFUGToronto.org/
> This System has been donated by Infopreneur, Inc.
> (http://www.infopreneur.net)

-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: "Bob Keleher" <[EMAIL PROTECTED]>
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)

Reply via email to