Release a session-free Connection object
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
For .NET Open Clients, the supported application server operating modes are the session-managed and the session-free modes. For more information, see the information on session models in the topic on generating proxies and Web service definitions in Learn About Open Clients.
To access a session-free application server, you must set the proxy property
PROGRESS.Session.SessionModel to 1. For more information,
see Access Proxy Properties.
ReleaseConnection
For session-free applications, you must explicitly release the connections
held by a Connection object when they are no longer needed.
Use the following method on the Connection object for this
purpose:
|
Note: This method is not necessary for and has no
effect in session-managed applications.