sysLib.getSessionAttr

The system function sysLib.getSessionAttr uses a specified key to retrieve an argument from the session object into a specified variable. This function is useful in page handlers and in programs that run in Web applications.

If an object is not found with the specified key, the target variable is unchanged. If the retrieved object is of the wrong type, an exception is thrown and the program or page handler terminates.

You can place an argument in the session object by using the system function sysLib.setSessionAttr.


sysLib.getSessionAttr syntax diagram

key

A character literal or an item of any character type.

argument

An item, record, or array.

Related concepts
PageHandler part

Related reference
sysLib.setSessionAttr