Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Product Manuals » DBISAM Version 4 Manual for RAD Studio XE7 (C++ Win64) » Using DBISAM » Starting Sessions |
192.168.0.1 DBISAMLANServer
Port | Usage |
12005 | Normal access |
12006 | Administrative access |
DBISAMServer 12005/tcp DBISAMAdmin 12006/tcp
User ID: Admin (case-insensitive) Password: DBAdmin (case-sensitive)
void __fastcall TMyForm::MySessionStartup(TObject *Sender) { TRegistry *Registry = new TRegistry; try { Registry->RootKey=HKEY_LOCAL_MACHINE; if (Registry->OpenKey("SOFTWARE/My Application",false) { if (Registry->ReadBool("IsRemote")) { MySession->SessionType=stRemote; MySession->RemoteAddress=Registry->ReadString("RemoteAddress"); MySession->RemotePort=Registry->ReadString("RemotePort"); } else { MySession->SessionType=stLocal; } } else { ShowMessage("Error reading connection information "+ "from the registry"); } } __finally { delete Registry; } }
Property | Description |
ForceBufferFlush | Controls whether the session will automatically force the operating system to flush data to disk after every write operation completed by DBISAM. Please see the Buffering and Caching topic for more information. |
LockProtocol | Controls whether the session will use a pessimistic or optimistic locking model when editing records via navigational or SQL methods. Please see the Locking and Concurrency topic for more information. |
LockRetryCount | Controls the number of times that the engine will retry a record or table lock before raising an exception. This property is used in conjunction with the LockWaitTime property. |
LockWaitTime | Controls the amount of time, in milliseconds, that the engine will wait in-between lock attempts. This property is used in conjuction with the LockRetryCount property. |
KeepConnections | Controls whether temporary TDBISAMDatabase components are kept connected even after they are no longer needed. This property has no effect upon a local session, but can result in tremendous performance improvements for a remote session, therefore it defaults to True and should be left as such in most cases. |
PrivateDir | Controls where temporary files generated by DBISAM are stored for a local session. This property is ignored for remote sessions. |
ProgressSteps | Controls the maximum number of progress events that any batch operation will generate. Setting this property to 0 will cause the suppression of all progress messages. |
StrictChangeDetection | Controls whether DBISAM will use strict or lazy change detection for the session. The default is False, or lazy change detection. Please see the Change Detection topic for more information. |
This web page was last updated on Thursday, November 16, 2023 at 10:39 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |