CLIENT-CONNECTION-ID attribute

For a session-managed application, this attribute returns the connection ID for the physical application server connection associated with this server handle.

For a session-free application, because there are is no single physical connection between the client and application server, the value of this attribute has no meaning.

For Web services, this attribute returns the empty string.

Data type: CHARACTER

Access: Read-only

Applies to: Server object handle

This value, assigned by the application server, accepts a connection request from a client application. The connection ID is used as an identifier when any information associated with the connection is logged.

The same connection ID is available to an ABL client application using the CLIENT-CONNECTION-ID attribute and to the application server session servicing the client on the same connection using the SERVER-CONNECTION-ID attribute on the SESSION handle.

The value of the connection ID is guaranteed to be globally unique for all time within a single computer network. Connection IDs can be compared to each other strictly for equality, but other types of comparisons are irrelevant.

For a client, the connection ID of the associated application server connection remains the same until the client disconnects from the application server. If the client reconnects to the same application server, the connection ID of the new connection (and thus the value of the CLIENT-CONNECTION-ID attribute for that connection) is different from the connection ID of the previous connection.

Note: You can identify client context for a user login session of a session-managed or session-free application using the ClientContextId property of the Progress.Lang.OERequestInfo class.