Accessing the connection ID
- Last Updated: May 18, 2026
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
As described in ABL for programming PAS for OpenEdge procedures, OpenEdge creates a
unique ID for each connection to a PAS for OpenEdge instance. For session-managed
applications, there is a connection ID mechanism especially for a PAS for OpenEdge running in
the unbound session-managed model. This is the SERVER-CONNECTION-ID attribute on the SESSION handle, a read-only CHARACTER
attribute for which OpenEdge generates a unique value for each connection to a
session-managed PAS for OpenEdge instance.
For both session-managed and session-free applications, you can also use the
ClientContextId property on the Progress.Lang.OERequestInfo class to identify a single
client context. This client context identifier can be used to identify a single user
login session, especially for multiple PAS for OpenEdge sessions running in the session-free
or unbound session-managed models. By default, OpenEdge provides a globally unique value
for the ClientContextId property that can also be
managed by the application across multiple server sessions.
For more information on using the SERVER-CONNECTION-ID, see Manage context for bound and unbound session-managed connections. For more information
on using the ClientContextId property, see Manage client context for session-free and unbound session-managed connections.