Managing Database Sessions Using TSession

From RAD Studio
Jump to: navigation, search

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

  1. Choose File > New > Other. The New Items dialog appears.
  2. In the New Items dialog, select Delphi Projects and double-click VCL Forms Application.The Windows Designer displays.
  3. Activate a session.
  4. Specify default database connection behavior.
  5. Manage database connections.
  6. Work with password-protected Paradox and dBASE tables.
  7. Work with BDE aliases.
  8. Retrieve information about a session.
  9. Create, Name, and Manage additional sessions.

See Also