Holds the IP address of the client computer (or other client device) that currently is in the interaction session with the application.
Usage and examples
QX_CLIENT_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_CLIENT_IP by fgl_getproperty() or fgl_getenv():
DISPLAY fgl_getproperty("system.environment","QX_CLIENT_IP")TO f1
DISPLAY fgl_getenv("QX_CLIENT_IP")
Usually, values of QX_CLIENT_IP and QX_CLIENT_HOST 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_IP and QX_SERVER_IP will coincide: