3.18.12. GetSessionQuery Previous topic Parent topic Child topic Next topic

An SQL statement to get a session. Special formatting characters may be used. Special variable %2 contains a tenant id, %3 contains object's id and %4 contains object's name. If GetSessionQuery is defined as an empty string, then the query will not be executed.
%0 and %1 are undefined.
GetSessionQuery defaults to:
SELECT * FROM SESSIONS WHERE tenant_id=%2 AND (name=%4 OR id=%3)