Holds the IP address of the server that currently is in the interaction session with the application.
Usage and examples:
QX_SERVER_IP 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_IP by fgl_getproperty() or fgl_getenv():
DISPLAY fgl_getproperty("system.environment", "QX_SERVER_IP") TO f1
DISPLAY fgl_getenv("QX_SERVER_IP")
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_CLIENT_IP and QX_SERVER_IP will coincide:
Related articles: