4D v14.3WEB GET SESSION EXPIRATION |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
WEB GET SESSION EXPIRATION
|
WEB GET SESSION EXPIRATION ( sessionID ; expDate ; expTime ) | ||||||||
Parameter | Type | Description | ||||||
sessionID | Text |
![]() |
Session UUID | |||||
expDate | Date |
![]() |
Date of cookie expiration | |||||
expTime | Time |
![]() |
Time of cookie expiration | |||||
The WEB GET SESSION EXPIRATION command returns the expiration information for the cookie of the session whose UUID you passed in sessionID.
The expDate parameter receives the expiration date and the expTime parameter receives the expiration time of the cookie.
Note: Each time a web request is sent, the expiration date and time of the cookie are reset to a value corresponding to the time of the request+the value of the Web Inactive session timeout. For example:
First request, Monday at 1:00
-> Sends a cookie 4DSID xxxyyy expiration I+24h = Tuesday 01:00
Second request, Monday at 1:10
-> Sends a cookie 4DSID xxxyyy expiration I+24h = Tuesday 01:10
Third request, Tuesday at 4:00: cookie expired
-> Sends a cookie 4DSID aaabbb expiration I+24h = Wednesday 01:00
Product: 4D
Theme: Web Server
Number:
1207
Created: 4D v13
WEB Get Current Session ID
Web Sessions Management
WEB SET OPTION
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)