| '''Summary'''
|Returns the value of an attribute bound to the current session, or an empty sequence if no value was bound. If the attribute does not exist, an empty sequence or the optionally specified default value is returned instead.
|-
| '''Errors'''
|{{Error|BXSE0002|#Errors}} the value of a session attribute could not be retrieved.
|-
| '''Examples'''
| '''Properties'''
|The function is ''non-deterministic'': evaluation order will be preserved by the compiler.
|-
| '''Errors'''
|{{Error|BXSE0001|#Errors}} a function item was specified as value of a session attribute.
|-
| '''Examples'''
|-
|{{Code|BXSE0001}}
|Function items cannot be stored A function item was specified as value of a session attributesattribute.
|-
|{{Code|BXSE0002}}
|An error occurred while retrieving the value of a session attribute.
|}