ISSESSIONACTIVE Function (Session)
Tests if the specified SessionID is active on the Microsoft Dynamics NAV Server instance where it was started.
Syntax
Ok := ISSESSIONACTIVE(SessionID)
Parameters
SessionID Type: Integer The ID of the session that you want to test if it is still active.
Property Value/Return Value
Type: Boolean
true if a session with a specified ID is active on the Microsoft Dynamics NAV Server instance; otherwise, false.
Remarks
Use this function to test if a session has completed or is still active, for example if you want to check that a session started with STARTSESSION is still running.
Note
The function looks for sessions on the local machine.