Connecting to a session-managed PAS for OpenEdge instance
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
In this session-managed connection example, the -URL parameter for the local PAS
for OE instance passed as the connection-parameters
argument to the CONNECT( ) method. Specific userid and password
values are also passed as arguments to the Connect procedure configured for the
instance. A value is not supplied as a appserver-info
argument, which the procedure receives as the Unknown value (?). For
example:
|
This code tries to connect to the inventory OE ABL Web
application running on the local instance and authenticates the connection for user
slater with the password, OuterLimits64.
If the Connect procedure fails, it can specify a user-defined string.
Appending the RETURN-VALUE function to a generic error
message in your client-side connection code can capture any user-defined string returned
by the Connect procedure.