GetApplicationData method of GAMSession object

Official Content

Get the GeneXus Access Manager session data which resides in database, and has been saved there using SetApplicationData method of GAMSession object. 

Syntax

GAMSession.GetApplicationData(): String

Description

In some cases there's the need to save additional information for the current user in the GeneXus Access Manager session in addition to the default information that is saved when the user logs in. Specially in the case of applications which run under a load balancing architecture when the web session cannot be shared among the nodes of the application server.

In these cases it's useful to store the additional information you need to save for the user session in the GAM database, using SetApplicationData method of GAMSession object, and retrieve that information using GetApplicationData method of GAMSession.

Another use of GetApplicationData method is to retrieve information sent from an external authentication program, see GAM External Authentication: version 2.0 (section 4) for more details.

See Also

GAM External Authentication Type