4D v16.3

WEB GET SESSION EXPIRATION

Home

 
4D v16.3
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



See also 

WEB Get Current Session ID
Web Sessions Management
WEB SET OPTION

 
PROPERTIES 

Product: 4D
Theme: Web Server
Number: 1207

This command can be run in preemptive processes

 
HISTORY 

Created: 4D v13

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)