skip to main content
OpenEdge Mobile 11.5.1 Updates : Session management updates : JSDOSession properties : loginResult property
 
loginResult property
Returns the return value of the login( ) method, which is the basic result code for the most recent login attempt on the current JSDOSession or Session object.
Data type: Number
Access: Read-only
Applies to: progress.data.JSDOSession class, progress.data.Session class
Possible loginResult values include the following numeric constant values:
*progress.data.Session.LOGIN_SUCCESS — User login session started successfully.
*progress.data.Session.LOGIN_AUTHENTICATION_FAILURE — User login failed because of invalid user credentials.
*progress.data.Session.LOGIN_GENERAL_FAILURE — User login failed because of a non-authentication failure.
For a more specific status code returned in the HTTP response, you can check the value of the loginHttpStatus property.
The value of this property is null prior to the first login attempt and after a successful logout (until the next login attempt).

See also:

login( ) method (JSDOSession class), login( ) method (Session class), loginHttpStatus property