Every executable web element has a (possibly empty)
entry context that provides the environment in which the dynamic page is
executed. The entry context consists of :
- session variables
- web element variables
Session variables
Session variables are variables accessible implicitly
in every web element of the site. A session variable can be either
persistent (stored in the database)

or transmitted in the URL from page to page.

When at least one persistent session variable is
defined, the object session itself is accessible under the name session
and the type OclObject in case when it is necessary to obtain the
Object Identifier of the session object. To know the oid of the current
session is necessary when one passes for example from the protected part
of a site towards the non protected part of a site. See paragraph about Session
management.
The default value expression of a session variable is
evaluated when the session object is created. If a session variable has
no default value, the default value for its type is assigned to the
variable. See paragraph about Xion
data types. No other entry variable is accessible in the expression
that gives the default value for persistent session variables.
Persistent session variables values are accessible in the default
expression of transmitted session variables.
If the type of a persistent session variable is a
class, the object that represents this variable can be linked to the
session object via an association or a composition.
If linked with an association, the object is not
deleted when the session expires.

If linked with a composition, the object is deleted
when the session expires.

Web element variables
Web element variables are variables accessible in the
web element in which they are defined.

Web element variables with no default value must be
explicitly assigned when the web element is embedded in an other one or
when the web element is the target of a link. If the parameter
corresponding to this variable is not defined in the calling URL, the
default value for the type of the variable is assigned to it.
Web element variables with default value expression
can be ignored when the web element is embedded in an other one or when
the web element is a target of a link. If the parameter corresponding to
this variable is not defined in the calling URL, the expression giving
the default value is evaluated and its result assigned to the variable.
Session variables are accessible in the expression giving the default
value.
If the type of a web element variable is a class, the
life cycle of the object that represents this variable is not handled by
Netsilon. The designer of the site must determine when such an object
should be created and deleted.

Private web element variables are not visible from
outside the web element and not passed in the URL. They must have a
default value or be initialized in the entry action and are visible in
the expressions present in the element.