REQUEST-INFO attribute
- Last Updated: July 20, 2021
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
An object reference to a Progress.Lang.OERequestInfo class that provides information about a client
request sent from this ABL session to an application server.
Data type: Progress.Lang.OERequestInfo class
Access: Read-only
Applies to: Server object handle, Asynchronous request object handle
The following code fragment retrieves the default client context identifier (CCID) that the AVM generates when you create a server object handle:
|
You can also access this attribute using the SELF system handle inside an ABL event procedure that runs when an associated asynchronous remote procedure completes.
The following code fragment defines
an event procedure (AsynReqIsDone) that you might
use to access this attribute in response to an asynchronous remote
procedure call:
|
This event procedure accesses the CCID that was sent to the application
server along with the asynchronous request and assigns the value to the ccid variable defined in the enclosing external procedure.
The bold code in the
following fragment shows setting a client principal in a server's OERequestInfo instance:
|
See also
GetClientPrincipal( ) method (Progress.Lang.OERequestInfo), CURRENT-REQUEST-INFO attribute, CURRENT-RESPONSE-INFO attribute, LOCAL-VERSION-INFO attribute, RESPONSE-INFO attribute, SetClientPrincipal( ) method