Once the user performs a successful Session logon, the session object can be used to operate on databases.
Every time a new database is created, or an existing database is added to a session, the database properties such as database name and path are placed in an entry of the database dictionary file.
Every time a user activates a database by connecting to it using the CTDatabase.Connect() method, the database is placed in a list of active (connected) databases within the session. When a database is deactivated or disconnected by the CTDatabase.Disconnect() method, the database is removed from the list of active databases.