The classic AppServer provides ABL session Startup and Shutdown event procedures that allow you to manage the initialization and cleanup of an ABL session. The properties that control these event procedures use the prefix srvr, which reflects their identification with server (agent) processes of the classic AppServer. Each classic AppServer agent is a single ABL session that runs as a single OS process (AVM). These event procedures have always been executed as part of the ABL session startup and shutdown.

In PAS for OpenEdge, these Session Startup and Shutdown procedure properties are renamed with the session prefix to better reflect their association with ABL sessions rather than server processes. In addition, PAS for OpenEdge eliminated inconsistent execution produced by connection models that no longer exist (HTTP is the only one). The multi-session agent in PAS for OpenEdge starts ABL sessions on demand to meet client load, and multi-session agent stops ABL sessions when they are idle for a certain period of time.

Naming

The classic AppServer properties in ubroker.properties are srvrStartupProc, srvrStartupParam, and srvrShutdownProc.

The corresponding PAS for OpenEdge properties in openedge.properties are sessionStartupProc, sessionStartupProcParam, and sessionShutdownProc.

In both servers, these properties are implemented as parameter-name=value pairs.

Execution

The following table compares the execution of these procedures on the classic AppServer and PAS for OpenEdge. The Procedure name column lists the property in openedge.properties where you set the name of the specified procedure:

Table 1. Comparing Session Startup and Shutdown procedures between AppServer and PAS for OpenEdge
Procedure name AppServer persistence PAS for OpenEdge persistence Runs at Startup Parameters
sessionStartupProc Persistent Persistent ABL session startup A string of session startup parameters specified as the sessionStartupProcParam property in openedge.properties
sessionShutdownProc Non-persistent Non-persistent ABL session shutdown None

In all other respects, the Session Startup and Shutdown event procedures are the same for classic AppServer and PAS for OpenEdge.