QX_CLIENT_HOST

Holds the hostname of the client computer (or other client device) that currently is in the interaction session with the application.

Usage and examples

QX_CLIENT_HOST belongs to the group of environment variables that are used for retrieving information but not for configuring Lycia.

Thus, it is determined automatically - taken from the settings of the client system.

You can retrieve the value of QX_CLIENT_HOST by fgl_getproperty() or fgl_getenv():

DISPLAY fgl_getproperty("system.environment","QX_CLIENT_HOST")TO f1

DISPLAY fgl_getenv("QX_CLIENT_HOST")

Usually, values of QX_CLIENT_HOST and QX_CLIENT_IP have different values.

If the hostname cannot be retrieved, QX_CLIENT_HOST will contain the client IP address (and thus coincide with QX_CLIENT_IP):

To retrieve full information about the interaction session, you can retrieve these environment variables – QX_SERVER_HOST, QX_SERVER_IP, QX_CLIENT_HOST, QX_CLIENT_IP, and QX_SESSION_ID:

If you run the application on the server, than values of QX_CLIENT_HOST and QX_SERVER_HOST will coincide:

 

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.