Holds the hostname of the server that currently is in the interaction session with the application.
Usage and examples
QX_SERVER_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_SERVER_HOST by fgl_getproperty() or fgl_getenv():
DISPLAY fgl_getproperty("system.environment","QX_SERVER_HOST")TO f1
DISPLAY fgl_getenv("QX_SERVER_HOST")
Usually, values of QX_SERVER_HOST and QX_SERVER_IP have different values.
If the hostname cannot be retrieved, QX_SERVER_HOST will contain the client IP address (and thus coincide with QX_SERVER_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_SERVER_HOST and QX_CLIENT_HOST will coincide: