Official Content

Configures the Web Session expiration timeout in minutes.

Syntax

&GAMSecurityPolicy.WebSessionTimeOut = Number_Minutes

Where:

&GAMSecurityPolicy
 
 Is a variable based on the GAMSecurityPolicy data type.

Number_Minutes
   Web Session expiration timeout in minutes.

Description

By default, this property is set to 0. This means that the session will never expire.

The Web Session Timeout configured in the SecurityPolicy EO has to be less than or equal to the Session Timeout configured in the Web Server.

Note: When using the GAM Web Backoffice, this property is shown with the description "Web Session timeout (minutes)".

Samples

The following code is an example where the security policy is loaded and its session timeout is changed:

&GAMSecurityPolicy.Load(&Id)  //&Id belongs to GAMKeyNumLong domain
&GAMSecurityPolicy.WebSessionTimeOut = &WebSessionTimeOut //&WebSessionTimeOut is Numeric(4)

See Also

Security Session Management in Applications using GAM

   

Last update: April 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant