Some security mechanisms, such as Kerberos, provide for the expiration of security contexts. For example, a Kerberos ticket will expire. If the gateway or the client detects such an expiration during encryption or decryption, it immediately closes the virtual circuit.
The security context expiration and associated disconnect is limited to Windows clients and servers using Kerberos authentication.
If reconnect is enabled in the DSN settings, then the driver attempts to reconnect by presenting the same credentials that were used to obtain the original connection. The driver will not try to recover any pending request or provide a status of the request to the application.
Disconnects might also be caused by security context expiration. The advice to users is to try to avoid security context expiration by ensuring that the lifetime of the context is sufficient to allow a given request to complete.