Table of contents

Official Content

"GAMExampleLogin" is the sample object that allows users to log in. It is executed automatically when there is no valid session.

When executing the "GAMExampleLogin" for the first time, you have to consider some aspects:

      1. Initial Execution

If you execute this object (or the "GAMHome" object, which will redirect to the "GAMExampleLogin" if you are not logged in), you will be asked to configure a Home Object for your application.

      2. Login Process

First, you will be asked to enter your credentials in the GAMExampleLogin object:

GAM Login v18

       3. Home Object Configuration

Then, the "GAMHome" object is executed, where you are asked to enter the Home Object:

Welcome to GAM v18

Purpose of Configuring a Home Object

The purpose of configuring a Home object is to set in the GAM database which object to return when there isn't any caller of the "GAMExampleLogin" object. That is to say, if A is executed and needs authentication, the execution flow returns to A after a successful login. But if the GAMExampleLogin has no object to redirect, a Home Object is needed to end the execution flow.

See Also

GAMExampleLogin object
 

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