Try OpenEdge Now
skip to main content
Application Migration and Development Guide
Migrating AppServer and WebSpeed Applications : ABL application code migration : Migrating AppServer operating modes : Migrating classic state-aware operating mode
 
Migrating classic state-aware operating mode
To achieve the same client bound behavior in PAS for OpenEdge as in a classic state-aware AppServer, include the following as the first statement in your Connect event procedure:
SESSION:SERVER-CONNECTION-BOUND-REQUEST = TRUE.
This will fully disable the execution of Activate and Deactivate event procedures for client requests over this connection until this attribute is set to FALSE, but leave them available for use by session-free client connections.
Also include the following as the last statement before exiting your Disconnect procedure:
SESSION:SERVER-CONNECTION-BOUND-REQUEST = FALSE.