4D v16.3WEB Get session process count |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
WEB Get session process count
|
WEB Get session process count ( sessionID ) -> Funktionsergebnis | ||||||||
Parameter | Typ | Beschreibung | ||||||
sessionID | Text |
![]() |
Session UUID | |||||
Funktionsergebnis | Lange Ganzzahl |
![]() |
Number of processes attached to the session | |||||
Die Funktion WEB Get session process count gibt die Anzahl der laufenden Prozesse innerhalb einer Session mit der in SessionID übergebenen UUID zurück.
Diese Funktion wurde im Rahmen der Funktionalität 4D Mobile Session per Programmierung verwalten hinzugefügt, die mit 4D v15 R4 eingeführt wird. Sie dient hauptsächlich zur Angabe der Anzahl der Prozesse, die in einer 4D Mobile Session laufen.
Die Information der aktuellen 4D Mobile Session in Arrays speichern:
C_TEXT($sessionID)
C_LONGINT($count)
C_DATE($expDate)
C_TIME($expTime)
$sessionID:=WEB Get Current Session ID
$count:=WEB Get session process count($sessionID)
WEB GET SESSION EXPIRATION($sessionID;$expDate;$expTime)
APPEND TO ARRAY($aTimestamp;String(Current date)+" "+String(Current time))
APPEND TO ARRAY($aSessionUID;$sessionID)
APPEND TO ARRAY($aNbProcesses;$count)
APPEND TO ARRAY($aExpirationDate;$expDate)
APPEND TO ARRAY($aExpirationTime;$expTime)
Produkt: 4D
Thema: Web Server
Nummer:
1350
Erstellt: 4D v15 R4
4D Programmiersprache ( 4D v16)
4D Programmiersprache ( 4D v16.1)
4D Programmiersprache ( 4D v16.2)
4D Programmiersprache ( 4D v16.3)