Products Downloads


French version


 

 

      

      

      

WADELIA

      

 

 

 

(I/B) (C)

 

 

Section for use

All

 

Syntax

FREE_SESSION *ADELIA | *ALL | *ALL(GLOBAL_SESSION)

 

Description

When used with the *ADELIA parameter, this instruction removes from the Session implicit object all the information stored implicitly by the Adelia Web runtime (information whose key name begins with "AdeliaKey"). This closes all the middleware connections assigned to this Web session.

In protected mode, any data with a key name beginning with "<PrefixPseudoSession>AdeliaKey" is stripped from the Session implicit object and the middleware connections allocated to the Web pseudo-session are closed.

 

When used with the *ALL parameter, this instruction does the same thing as the *ADELIA parameter. It also deletes all the information stored for the Session object. After executing this instruction, a blank page is sent to the browser, unless in the Web application's CfgConfiguration.properties file the name of the page to display has been indicated for the SESSION_ABORTED_PAGE key.

In protected mode, the instruction does what the *ADELIA parameter does, and in addition, deletes the user context data stored in the Web pseudo-session.

 

In protected mode, when it is used with the *ALL(GLOBAL_SESSION) parameter, the instruction does what the *ALL parameter does, for all of the existing Web pseudo-sessions. After executing this instruction, the browser returns a blank page, unless in the Web application's CfgConfiguration.properties file the name of the page to display has been assigned for the SESSION_ABORTED_PAGE key. In unprotected mode, the *ALL(GLOBAL_SESSION) parameter is treated like a conventional *ALL parameter.

 

Note: This instruction is used to release the resources on the Web server and the middleware server, without having to wait for the Web session timeout.

 

Example

FREE_SESSION  *ALL

 

See also the list of 4GL instructions by topic

↑ Top of page


  • Aucune étiquette