Bde.DBTables.Sessions

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

Sessions: TSessionList;

C++

extern DELPHI_PACKAGE TSessionList* Sessions;

Properties

Type Visibility Source Unit Parent
variable public
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables Bde.DBTables

Description

Provides access to TSessionList methods and properties.

Sessions is a way to access TSessionList methods and properties for manipulating sessions. The DB unit automatically creates and destroys Sessions for you; you don't need to do anything but use it.

The Session variable, on the other hand, is responsible for maintaining all of the database components used by your application. It is created automatically as part of your application's initialization and destroyed as part of your application's termination. The Session variable must remain active at all times; it can not be destroyed and recreated.

See Also