RE: [KCFusion] finding computername using CF 5

2003-02-19 Thread Greenhagen, Robin
You can put a quick custom tag in the CustomTags directory that will set a variable 
for you like REQUEST.SERVERNAME and then just customize that for each machine.  The 
REALLY dynamic but bad way to do it is to use CFREGISTRY to do it 

Robin Greenhagen
President
GSI
http://www.gsi-kc.com/


-Original Message-
From: Minor, Beth [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 11:05 AM
To: [EMAIL PROTECTED]
Subject: [KCFusion] finding computername using CF 5


We are setting up servers for load balancing and I am trying to figure out a way to 
display the computername.  Found a getenv function on the 
http://www.cflib.org/udf.cfm?ID=777 website that will do this - but it only works for 
CF MX and we are using CF 5.  Does anyone know how to find the computername using CF 
5.0?

Thanks,
Beth Minor

Beth Minor
Database Programmer Analyst-Principal
University of Missouri  System
phone (573) 882-9242
[EMAIL PROTECTED]


 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 




__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]




RE: [KCFusion] finding computername using CF 5

2003-02-19 Thread Adam Dayhoff

I think you can get this using the CGI Environment Variables.


Try these variables:
#CGI.REMOTE_HOST# - should give you the name
#CGI.REMOTE_ADDR# - should give you the IP address


I know you can get the person logged into a network with:
#CGI.REMOTE_USER#


-Original Message-
From: Minor, Beth [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 19, 2003 11:05 AM
To: [EMAIL PROTECTED]
Subject: [KCFusion] finding computername using CF 5


We are setting up servers for load balancing and I am trying to figure
out a way to display the computername.  Found a getenv function on the
http://www.cflib.org/udf.cfm?ID=777 website that will do this - but it
only works for CF MX and we are using CF 5.  Does anyone know how to
find the computername using CF 5.0?

Thanks,
Beth Minor

Beth Minor
Database Programmer Analyst-Principal
University of Missouri  System
phone (573) 882-9242
[EMAIL PROTECTED]


 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 


**
This e-mail and any files transmitted with it are confidential and are
intended solely for the use of the individual or entity to whom they are
addressed. If you are NOT the intended recipient or the person responsible
for delivering the e-mail to the intended recipient, be advised that you
have received this e-mail in error and that any use, dissemination,
forwarding, printing, or copying of this e-mail is strictly prohibited. 
**



__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]




RE: [KCFusion] finding computername using CF 5

2003-02-19 Thread Greenhagen, Robin
It wont be anything in the CGI variables.  Those are all transmitted by the browser to 
the web server.  She is looking for the actual network machine name of the web server.

Robin Greenhagen
President
GSI
http://www.gsi-kc.com/


-Original Message-
From: Adam Dayhoff [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 11:32 AM
To: [EMAIL PROTECTED]
Subject: RE: [KCFusion] finding computername using CF 5



I think you can get this using the CGI Environment Variables.


Try these variables:
#CGI.REMOTE_HOST# - should give you the name
#CGI.REMOTE_ADDR# - should give you the IP address


I know you can get the person logged into a network with:
#CGI.REMOTE_USER#


-Original Message-
From: Minor, Beth [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 19, 2003 11:05 AM
To: [EMAIL PROTECTED]
Subject: [KCFusion] finding computername using CF 5


We are setting up servers for load balancing and I am trying to figure
out a way to display the computername.  Found a getenv function on the
http://www.cflib.org/udf.cfm?ID=777 website that will do this - but it
only works for CF MX and we are using CF 5.  Does anyone know how to
find the computername using CF 5.0?

Thanks,
Beth Minor

Beth Minor
Database Programmer Analyst-Principal
University of Missouri  System
phone (573) 882-9242
[EMAIL PROTECTED]


 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 


**
This e-mail and any files transmitted with it are confidential and are
intended solely for the use of the individual or entity to whom they are
addressed. If you are NOT the intended recipient or the person responsible
for delivering the e-mail to the intended recipient, be advised that you
have received this e-mail in error and that any use, dissemination,
forwarding, printing, or copying of this e-mail is strictly prohibited. 
**

 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 




__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]




RE: [KCFusion] finding computername using CF 5

2003-02-19 Thread Minor, Beth


Thanks for the quick replies - I am looking for the actual network machine name of the 
server.  We will be using a file replication system to keep the code the same between 
all servers, so I'm not quite sure how to do that and use the suggestion below.  Why 
is using CFREGISTRY bad?

Beth Minor


-Original Message-
From: Greenhagen, Robin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 11:12 AM
To: [EMAIL PROTECTED]
Subject: RE: [KCFusion] finding computername using CF 5


You can put a quick custom tag in the CustomTags directory that will set a variable 
for you like REQUEST.SERVERNAME and then just customize that for each machine.  The 
REALLY dynamic but bad way to do it is to use CFREGISTRY to do it 

Robin Greenhagen
President
GSI
http://www.gsi-kc.com/


-Original Message-
From: Minor, Beth [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 11:05 AM
To: [EMAIL PROTECTED]
Subject: [KCFusion] finding computername using CF 5


We are setting up servers for load balancing and I am trying to figure out a way to 
display the computername.  Found a getenv function on the 
http://www.cflib.org/udf.cfm?ID=777 website that will do this - but it only works for 
CF MX and we are using CF 5.  Does anyone know how to find the computername using CF 
5.0?

Thanks,
Beth Minor

Beth Minor
Database Programmer Analyst-Principal
University of Missouri  System
phone (573) 882-9242
[EMAIL PROTECTED]


 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 


 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 


__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]