|Return to Predefined Objects Page|
The SESSION table contains all session variables. It is through the use of this
table that session management is performed. Anything added to this table remains
in the table until the user session expires.
To access values in this table, use the syntax SESSION.variableName
The following example shows how information can be added and retrieved from the
<!--- Set a value into the SESSION table --->
<SASET NAME=SESSION.message VALUE="Hello!">
<!--- Retrieve a value from the SESSION table --->
As with all SteelArrow variables, other tables can be stored with the SESSION table.
This aids in the development of eCommerce solutions that may require shopping cart
The SESSION object has several predefined values, as follows:
The below values were retrieved from your SESSION table.
||Session Timeout (minutes)|
||Session Last Access Time|
||Session Last Access Date|
||Script Unique Identifier|
||Session Unique User Id|
The SESSION.TIMEOUT value is the time in minutes that this session will expire. This value
can be changed to reflect the requirements of the web application. The defualt can also be
changed by the administrator using the system configuration utility.
The SESSION.UNIQUEID is created everytime any script is accessed. It is a unique identifier
that will never be repeated. If you are a database developer this value can be used as a