GetSession (Object subroutine)
Retrieve session object reference (Object class)
Syntax
%(Object):GetSession( name, target)
Syntax terms
%(Object) | The class name in parentheses denotes a shared method. GetSession can also be invoked via an Object class object variable, which may be Null. |
---|---|
name | A string that specifies a session name that references an object. |
target | An Object class object variable to be set by GetSession to reference the object referenced by the session name name. |
Usage notes
- If name does not reference an object, GetSession sets target to Null.
- If no session is open, the request is cancelled.
Examples
See Using system class methods to access global and session objects.