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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour