This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20.6
On Web Legacy Close Session database method
|
On Web Legacy Close Session database method | ||||||||
Does not require any parameters | ||||||||
This database method can only be used with legacy web sessions, available in databases converted from versions prior to 4D v18 R6. It is never called when scalable web sessions mode is enabled (recommended in 4D v18 R6 and higher). For more information, please refer to the Web Sessions Management (Legacy) section.
The On Web Legacy Close Session 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 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 QR SET DESTINATION.
Note: In the context of a 4D Mobile session (which can generate several processes), the On Web Legacy Close Session database method is called for each Web process that is closed, allowing you to save all types of data (variables, selection, etc.) generated by the 4D Mobile session process.
An example of the On Web Legacy Close Session database method is provided in the Web Sessions Management (Legacy) section.
Product: 4D
Theme: Database Methods
Created: 4D v13
Renamed: 4D v15 R4 (On Exit database method)
Renamed: 4D v18 R6 (On Exit database method)
4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)