4D v13.4

WEB CLOSE SESSION

Home

 
4D v13.4
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

 
INDEX

Alphabetical list of commands

 
HISTORY 

New
Created: 4D v13

 
SEE ALSO 

On Web Session Suspend database method
Web Sessions Management

 
TAGS 

cookies***