Session.IsSessionActive(Integer) Method
Version: Available or changed with runtime version 1.0.
Tests if the specified SessionID is active on the server instance where it was started.
Syntax
Ok := Session.IsSessionActive(SessionID: Integer)
Note
This method can be invoked without specifying the data type name.
Parameters
SessionID
Type: Integer
The ID of the session that you want to test if it is still active.
Return Value
Ok
Type: Boolean
true if the specified SessionID is active on the server instance where it was started, otherwise false.
Remarks
Use this method 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 method looks for sessions on the local machine.
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for