Icon TEDBSession

Unit: edbcomps

Inherits From TComponent

Use the TEDBSession component to manage a local or remote session within an application. A session acts like a "virtual user" and each new session component used in an application maintains its own database connections, table buffers, table/view/query result set cursors, etc. Because of the unique requirements of a multi-threaded application, ElevateDB requires that you use a separate TEDBSession component for each thread in use, thus treating each thread as a separate "virtual user".

A default TEDBSession component is created automatically when the application is started and can be referenced via the global Session function in the edbcomps unit.

Information Applications that maintain multiple sessions can manage them through the TEDBEngine component. A TEDBEngine component is created automatically when an application is started and can be referenced via the global Engine function in the edbcomps unit.


PropertiesMethodsEvents
AutoSessionNameCalculateCRC32ForStreamAfterConnect
CharacterSetCallRemoteProcedureAfterDisconnect
ConnectedCloseBeforeConnect
CurrentRemoteIDCloseDatabaseBeforeDisconnect
CurrentUserCreateOnLogin
DatabaseCountDropConnectionsOnLogMessage
DatabasesExecuteOnProgress
EngineVersionExecuteScriptOnRemoteReceiveProgress
ExcludeFromLicensedSessionsFindDatabaseOnRemoteReconnect
ForceBufferFlushFreeCachedFuncProcsOnRemoteSendProgress
FuncProcCacheSizeFreeCachedSQLStmtsOnRemoteTimeout
HandleGetDatabaseNamesOnRemoteTrace
KeepConnectionsGetDatabasesOnStatusMessage
KeepTablesOpenGetRemoteDateTime
LocalBackupExtensionGetRemoteServerDescription
LocalCacheModulesGetRemoteServerName
LocalCatalogExtensionGetRemoteServerVersion
LocalCatalogNameGetRemoteUTCDateTime
LocalConfigExtensionGetStoredProcNames
LocalConfigMemoryGetTableNames
LocalConfigNameOpen
LocalConfigPathOpenDatabase
LocalEncryptionPasswordSaveStoreFileToStream
LocalLockExtensionSaveStreamToStoreFile
LocalLogCategories
LocalLogExtension
LocalMaxLogFileSize
LocalShowDatabaseCatalogInfo
LocalShowUserPasswords
LocalSignature
LocalTableBlobExtension
LocalTableExtension
LocalTableIndexExtension
LocalTablePublishExtension
LocalTempTablesPath
LocalUpdateExtension
LoginPassword
LoginUser
ProgressTimeInterval
RecordChangeDetection
RecordLockProtocol
RecordLockRetryCount
RecordLockWaitTime
RemoteAddress
RemoteCompression
RemoteConnectionTimeout
RemoteEncryption
RemoteEncryptionPassword
RemoteHost
RemoteParams
RemotePing
RemotePingInterval
RemotePort
RemoteService
RemoteSignature
RemoteTimeout
RemoteTrace
SessionDescription
SessionName
SessionType
SQLStmtCacheSize
Image