GETSESSIONID

Returns the session ID for the current database alias connection. If the specified alias is not connected, or does not exist, the function returns an empty string.

GETSESSIONID is used to enable Application Engine processes to connect to the database specified in the alias and reuse the session members.

Syntax

GETSESSIONID("alias name")