Managing Database Sessions Using TSession
Go Up to How To Perform Database Procedures
A session provides global connection over a group of database components. A default TSession component is automatically created for each database application. You must use TSession component only if you are creating a multithreaded database application. Each database thread requires its own session components.
To manage database sessions
- Choose File > New > Other. The New Items dialog appears.
- In the New Items dialog, select Delphi Projects and double-click VCL Forms Application.The Windows Designer displays.
- Activate a session.
- Specify default database connection behavior.
- Manage database connections.
- Work with password-protected Paradox and dBASE tables.
- Work with BDE aliases.
- Retrieve information about a session.
- Create, Name, and Manage additional sessions.