Two special objects named lxp and env are
pre-defined system objects that can supply information about the LXP system and environment variables.
Any environment variable set by Apache's CGI configuration (e.g., REMOTE_ADDR) can
be accessed by referencing the name of the variable as a dot-notated identifier through the
env object. For example, the env.REMOTE_ADDR variable
value identifies the address of the remote client accessing the current document (if that feature is enabled in
Apache).
The lxp object is reserved for system purposes. As of Version 0.8, only three values
are defined. The most useful of these is the lxp.self value, which describes the URI which
Apache received for the current LXP request (e.g.,
/app/index.lxp
).
Additionally, the lxp.version variable value contains the current version of the LXP
software being used, and the lxp.copyright variable value contains the copyright on the
software.
Users submitting data to an LXP document are not able to pass variables beginning with
lxp. via a GET or POST
request. Thus, any variable beginning with lxp. is a
protected
variable, and can only be set by an LXP document through the <setvar> tag. This can
be useful in maintaining the integrity of sensitive variables, such as the results of password-based authentication.