RESPONSE-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 returned from an
application server about its response to an application server client request.
Data type: Progress.Lang.OERequestInfo class
Access: Readable/Writeable
Applies to: Server object handle, Asynchronous request object handle
The following code fragment retrieves the client context identifier (CCID) that is returned from a call to the remote procedure, remote.p:
|
You can also access this attribute from inside of an ABL event procedure that runs when an associated asynchronous remote procedure call completes. This attribute is read-only on the asynchronous request object handle that you access within the event procedure using the SELF system handle.
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 is returned from the
application server and assigns the value to the ccid
variable defined in the enclosing external procedure.
The bold code in the
following fragment shows getting a client principal from a server's
server's OERequestInfo instance:
|
See also
GetClientPrincipal( ) method (Progress.Lang.OERequestInfo), CURRENT-REQUEST-INFO attribute, CURRENT-RESPONSE-INFO attribute, LOCAL-VERSION-INFO attribute, REQUEST-INFO attribute, SetClientPrincipal( ) method