Product Documentation

VCL/CLX Developers Guide

Previous Topic

Next Topic

Methods

Create

constructor Create(AOwner : TComponent);

The constructor for the TCtSession component.

Destroy

destructor Destroy();

The destructor for the TCtSession component. Do not call Destroy directly. The object has to be destroyed with the inherited (TObject) Free() method.

CreateSession

procedure CreateSession();

Create a session dictionary. The session dictionary will be located in the server directory with the server or in the application directory for a non-server application. To choose a different directory, indicate it in the Directory property before calling CreateSession().

DisconnectAll

procedure DisconnectAll();

Disconnect all databases from the session.

Logon

procedure Logon();

Logon to a session. In order to logon to a session, a session dictionary must exist. By default, the session dictionary is located is the server directory, or the application directory for non-server applications. Set the Directory property to store the session dictionary in a different directory.

Logout

procedure Logout();

Logout from a session.

TOCIndex