| Subject | Determine Application is running on Server | 
|---|---|
| Author | Steve Harp | 
| Post date | 2005-09-25T14:01:29Z | 
Hi All,
I have a customer that wants certain process restricted to the
computer that is actually running the Firebird Server (not client
machines). The way I'm currently doing this is by checking the
TIB_Connection.Server property and, if it's 127.0.0.1 or localhost, I
let the process run. Is there a better way? I can see this failing
if the server property contains the computer's local IP address
instead of indicating local host.
Thanks for any suggestions,
Steve
            I have a customer that wants certain process restricted to the
computer that is actually running the Firebird Server (not client
machines). The way I'm currently doing this is by checking the
TIB_Connection.Server property and, if it's 127.0.0.1 or localhost, I
let the process run. Is there a better way? I can see this failing
if the server property contains the computer's local IP address
instead of indicating local host.
Thanks for any suggestions,
Steve