Try OpenEdge Now
skip to main content
Application Migration and Development Guide
Application Development with PAS for OpenEdge : Programming the Progress Application Server for OpenEdge : Managing context for bound and unbound session-managed connections : Using the SERVER-CONNECTION-ID attribute
 
Using the SERVER-CONNECTION-ID attribute
For more complex context than you might want to store in the SERVER-CONNECTION-CONTEXT attribute, you might choose to use a context database. In this case, you can use the SERVER-CONNECTION-ID attribute as a primary key to help you store and retrieve the context for each unbound session-managed connection. A context database is an application database that is connected to and accessible from each that services a session-managed client..
Because the SERVER-CONNECTION-ID is a globally unique ID, OpenEdge ensures that no two connections on a computer network have the same value. Before a session-managed request is executed within a client connection, OpenEdge also ensures that the SERVER-CONNECTION-ID is set to the ID for the connection on which the request was received. This value is also available to any Connect procedure, Activate procedure, Deactivate procedure, or Disconnect procedure that you configure for the PAS for OpenEdge instance.