Building Distributed
Applications
Using the Progress AppServer


Using the SERVER-CONNECTION-ID Attribute

For more complicated 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 client connection. A context database is an application database that is connected to and accessible from each Application Server process on the AppServer.

Because the SERVER-CONNECTION-ID is a globally unique ID, Progress ensures that no two connections on a computer network have the same value. Before a request is executed within an AppServer session, Progress 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 AppServer.

For more information on the value that Progress sets for the SERVER-CONNECTION-ID attribute, see Overview of the Progress AppServer."


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