We can use the following methods to handle sessions in GeneXus Access Manager.
It is quite useful for scenarios where an administrator wants to list all the sessions in GAM filtered by a range of dates, statuses, etc, and kill any session if necessary.
Following are the methods to implement a "Work With GAM Sessions" object, and at the bottom of this page, there is a link to download an xpz file with the example.
In order to use all these methods, setting Generate Session Statistics GAMRepository property to a value other than "None" is required.
Download the example from GAM session handling sample