Previous Next

CURRENT-REQUEST-INFO attribute
An object reference to a Progreses.Lang.OERequestInfo class that provides information about the current client request sent to and executing on an AppServer agent. This attribute only has meaning for a session running on an AppServer agent.
Note:
If you access this attribute from an ABL client, it returns the Unknown value (?).
Data type:
Access:
Applies to:
Note:
The object reference returned by this attribute is of type Progress.Lang.Object. In order to access the OERequestInfo properties of this instance, you must cast any reference to this attribute down to a Progress.Lang.OERequestInfo reference.
The following AppServer code fragment retrieves the client context identifier (CCID) that has been sent with a current request from an AppServer client:
 
DEFINE VARIABLE ccid AS CHARACTER NO-UNDO.
DEFINE VARIABLE rRqInfo AS Progress.Lang.OERequestInfo NO-UNDO. 
 
ASSIGN
  rRqInfo = CAST(SESSION:CURRENT-REQUEST-INFO, Progress.Lang.OERequestInfo)
  ccid = rRqInfo:ClientContextId.
See also:

Previous Next
© 2012 Progress Software Corporation and/or its subsidiaries or affiliates.