Try OpenEdge Now
skip to main content
Application Migration and Development Guide
Migrating AppServer and WebSpeed Applications : ABL application code migration : Comparing event procedures between the AppServer and PAS for OpenEdge : Session Startup and Shutdown procedures
Session Startup and Shutdown procedures
The classic OpenEdge 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 AppServer. Each 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's 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 has eliminated inconsistent execution produced by connection models that no longer exist (HTTP being the only one). The multi-session agent in PAS for OpenEdge starts ABL sessions on demand to meet client load, and stops ABL sessions when they are idle for a certain period of time.


The classic OpenEdge AppServer properties in are srvrStartupProc, srvrStartupParam, and srvrShutdownProc.
The corresponding PAS for OpenEdge properties in are sessionStartupProc, sessionStartupProcParam, and sessionShutdownProc.
In both servers, these properties are implemented as parameter-name=value pairs.


The following table compares the execution of these procedures on the classic AppServer and PAS for OpenEdge, where the Procedure name column lists the property in where you set the name of the specified procedure:
Table 4. Comparing Session Startup and Shutdown procedures between AppServer and PAS for OE
Procedure name
AppServer persistence
PAS for OpenEdge persistence
Runs at
Startup Parameters
ABL session startup
A string of session startup parameters specified as the sessionStartupProcParam property in
ABL session shutdown
In all other respects the Session Startup and Shutdown event procedures are the same for classic AppServer and PAS for OpenEdge.