ISSESSIONACTIVE Function (Session)
Tests if the specified SessionID is active on the Microsoft Dynamics NAV Server instance where it was started.
Ok := ISSESSIONACTIVE(SessionID)
SessionID Type: Integer The ID of the session that you want to test if it is still active.
Property Value/Return Value
true if a session with a specified ID is active on the Microsoft Dynamics NAV Server instance; otherwise, false.
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.
The function looks for sessions on the local machine.