Restoring cached connections  Viewing cached connection details

Chapter 2: Concepts and Procedures

Uncached connections

When a client disconnects from an Adaptive Server, the state of the connection is evaluated to determine whether to cache the connection. OpenSwitch does not cache these connections:

In all of these states, restoring the connection to a user would place the user’s application in an uncertain state. To avoid this risk, OpenSwitch discards these connections when the client exits.


Caching and state

Because a cached connection never disconnects from the remote server, any state information held in that server regarding the user’s session is maintained between the time the user disconnects from OpenSwitch and reconnects to the cached connection.

This mean that temporary tables and “SET” options (except for “set database,” which is cleared) are maintained even after a user disconnects. Evaluate carefully how you use connection caching.





Copyright © 2005. Sybase Inc. All rights reserved. Viewing cached connection details

View this book as PDF