4D v14.3

On Web Session Suspend database method

Home

 
4D v14.3
On Web Session Suspend database method

On Web Session Suspend database method 


 

On Web Session Suspend database method  
Does not require any parameters

  

The On Web Session Suspend database method is called by the 4D Web server each time a Web session is about to be closed. A session can be closed in the following cases:

  • when the maximum number of simultaneous sessions is reached (100 by default, modifiable using the WEB SET OPTION command), and 4D needs to create new ones (4D automatically kills the process of the oldest inactive session),
  • when the maximum period of inactivity for the session process is reached (480 minutes by default, modifiable using the WEB SET OPTION command),
  • when the WEB CLOSE SESSION command is called.

When this database method is called, the context of the session (variables and selections generated by the user) is still valid. This means that you can save data related to the session in order to be able to use them again subsequently, more specifically using the On Web Connection Database Method.

An example of the On Web Session Suspend database method is provided in the Web Sessions Management section.

 
PROPERTIES 

Product: 4D
Theme: Database Methods

 
HISTORY 

Created: 4D v13

 
SEE ALSO 

WEB CLOSE SESSION
Web Sessions Management

 
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)