CLIENTNAME function


Syntax:

  CLIENTNAME() 

This returns the primary host name of the client (for example, 'roman.therenet.org'), or if that should not be available, the name in numeric form (e.g., 12.34.56.78).

Note that determining the client name may involve a significant delay while the network is asked to resolve it. To minimize response time to the user, it is best to ask for the client name after sending the response data. Note also that the client name will not be that of the user agent if the user connects through a 'proxy' server or firewall.


[ previous section | GoServe | next section ]

From 'goserve.doc', version 2.32.
Copyright © International Business Machines Corporation, 1993, 1995.
All rights reserved.