Building Distributed
Applications
Using the Progress AppServer


Accessing the Connection ID on the Client

On a 4GL client, the connection ID is available as the value of the CLIENT-CONNECTION-ID attribute on the server object handle for the connection. This is a read-only attribute of type CHARACTER. For an Open Client application, Progress provides appropriate methods to access the connection ID (see the Progress Open Client Developer’s Guide).

For a client, the connection ID of a given AppServer connection remains the same until the client disconnects from the AppServer. If the client reconnects to the same AppServer, 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 any previous connection.

For information on how the AppServer generates the value for a connection ID and how to use it, see the information on audit trails and the connection ID in Design and Implementation Considerations."


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095