Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : SERVER-OPERATING-MODE attribute
 

SERVER-OPERATING-MODE attribute

(AppServer only; PAS for OE only)
Returns the operating mode of the current Progress Application Server or AppServer session.
Data type: CHARACTER
Access: Read-only
Applies to: SESSION system handle
This attribute is valid only if the REMOTE attribute is TRUE.
The possible values for this attribute when used with the AppServer include:
*"State-reset"
*"State-aware"
*"Stateless"
*"State-free"
This is the value of the operatingMode property set for this AppServer in the ubroker.properties file. For information on how to configure the operating mode for an AppServer instance, see OpenEdge Application Server: Administration.
The possible values for this attribute when used with the Progress Application Server include:
*"Session-managed"
*"Session-free"
Because an instance of the Progress Application Server can run sessions in both modes simultaneously, the operating mode is not set in a properties file. The operating mode is specified through a parameter on the CONNECT( ) method on the client. For more information, see Progress Application Server for OpenEdge: Introducing PAS for OpenEdge.

See also

CONNECT( ) method (AppServer), CONNECT( ) method (Progress Application Server)