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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈