4D v13.4

WEB GET SESSION EXPIRATION

Home

 
4D v13.4
WEB GET SESSION EXPIRATION

WEB GET SESSION EXPIRATION 


 

WEB GET SESSION EXPIRATION ( sessionID ; expDate ; expTime ) 
Parameter Type   Description
sessionID  Text in Session UUID
expDate  Date in Date of cookie expiration
expTime  Time in 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

 
PROPERTIES 

Product: 4D
Theme: Web Server
Number: 1207

 
INDEX

Alphabetical list of commands

 
HISTORY 

New
Created: 4D v13

 
SEE ALSO 

WEB Get Current Session ID
Web Sessions Management
WEB SET OPTION