REMOTE attribute

Indicates whether the specified procedure is running at the top level of an AppServer session as the result of a remote procedure call from a client application, or whether the current ABL session is an AppServer session. Returns FALSE for a Web service procedure.

Data type: LOGICAL

Access: Read-only

Applies to: Procedure object handle, SESSION system handle

For any procedure handle, REMOTE is TRUE if:

Otherwise, REMOTE is FALSE. Thus, if the procedure handle is a proxy handle (PROXY attribute set to TRUE) or the specified procedure is running as the direct result of a call from any other procedure running in the current session context, REMOTE is FALSE.

For the SESSION handle, REMOTE is TRUE if the session runs in the context of an AppServer, and FALSE if the session runs in the context of an ABL client.

For more information on the AppServer, see OpenEdge Application Server: Developing AppServer Applications.