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.
Prochainement : Tout au long de l'année 2024, nous supprimerons progressivement les GitHub Issues en tant que mécanisme de retour d'information pour le contenu et nous les remplacerons par un nouveau système de retour d'information. Pour plus d’informations, voir:Soumettre et afficher des commentaires pour