4D v14.3

WEB CLOSE SESSION

Home

 
4D v14.3
WEB CLOSE SESSION

WEB CLOSE SESSION 


 

WEB CLOSE SESSION ( sessionID ) 
Parameter Type   Description
sessionID  Text in Session UUID

The WEB CLOSE SESSION command invalidates an existing session designated by the sessionID parameter. If the session does not exist, the command does nothing.

When this command is called from a Web process or any other process:

  • The cookie expiration date is set to 0,
  • The On Web Session Suspend database method is called, allowing you to store session information,
  • Selections are erased, records are unlocked and variables are reset.

After this command is executed, if a Web client sends a request using an invalid cookie, a new session is opened and a new cookie is sent.

 
PROPERTIES 

Product: 4D
Theme: Web Server
Number: 1208

 
HISTORY 

Created: 4D v13

 
SEE ALSO 

On Web Session Suspend database method
Web Sessions Management

 
TAGS 

cookies

 
ARTICLE USAGE

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)