Use the SERVER-CONNECTION-ID attribute
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
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.