Official Content
  • This documentation is valid for:

GAMRepository property allows indicating whether the session statistics information will be stored to query it afterward.

Values

None

No information about session statistics is going to be stored.

Minimum (Only authenticated users)

Only the session statistics information for non-anonymous users is stored.

Detail (Authenticated and Anonymous users)

Anonymous users also generate session statistics information.

Full Log (Authenticated and Anonymous users) Additional information is generated in the session statistics tables. See FullLog property.

Example

The GAMRepositoryConfiguration web panel (located in GAM Example Folder) shows an example.

Generate Session Statistics image

The way to use it in GeneXus code (by using the GAM API) is as follows:

&Repository.GenerateSessionStatistics  = &GenerateSessionStatistics 
//&Repository is GAMRepository data type.
//GAMGenerateSessionStatistics domain : (None, Minimum, Detail, Full)

Note

1. With Anonymous users, we are referring to Auto register anonymous users or Anonymous Users in Web Applications.

2. If UserRememberMeType property is different than none, the Generate Session Statistics GAMRepository property must be set to a value different than None also.

See Also

Methods for handling sessions in GAM

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