Try OpenEdge Now
skip to main content
Developing AppServer Applications
Programming the AppServer : Managing stateless connection context : Using the SERVER-CONNECTION-BOUND attribute
 

Using the SERVER-CONNECTION-BOUND attribute

A stateless connection can be in a bound state because of active remote persistent procedures even if the SERVER-CONNECTION-BOUND-REQUEST attribute is set to FALSE. To easily determine if a connection is bound, even if the SERVER-CONNECTION-BOUND-REQUEST attribute is set to FALSE, check the value of the SERVER-CONNECTION-BOUND attribute. When set to TRUE for an AppServer agent running on a stateless AppServer, the read-only SERVER-CONNECTION-BOUND attribute indicates that the connection is currently bound, either from having active remote persistent procedures or from having the SERVER-CONNECTION-BOUND-REQUEST attribute set to TRUE.
Note: If the AppServer is running in state-aware or state-reset operating mode, the SERVER-CONNECTION-BOUND attribute for each of its AppServer agents is always set to TRUE.