I set listeneraddress on each.

then you can tell what you are on by checking that var. I assign a name to each, but that is up to you.
-- 

Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040

On Sep 30, 2005, at 11:32 AM, Chuck Lockwood wrote:

Given multiple Witango servers, what is the most sure fire way of programmatically determining which server the site is running on.  I have two environments “Production” and “QA”.  I want to name the servers and be able to tell which one the app is running on, regardless of ip or domain.

 

I don’t want to rely on scoped variables or a startupURL taf, I’d prefer something ini based, if possible.

Chuck Lockwood
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LockData Technologies, Inc.                 
309 Main Avenue, Hawley, Pa 18428         
570-226-7340 ~ Fax: 570-226-7341   
[EMAIL PROTECTED] ~ www.lockdata.com                  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 

 

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to