Limit Concurrent Connections by User
c-treeACE now supports limiting the number of concurrent user accounts and a configurable server-wide limit on connections per user account.
The MAX_CONCURRENT_USER_ACCOUNTS <max_accounts> configuration option sets the maximum number of user accounts that can connect at one time to c-treeACE.
The MAX_CONNECTIONS_PER_USER_ACCOUNT <max_connections> configuration option sets the maximum number of connections for each user account.
If limits are set in the license file, the configuration option can only be used to further reduce the connection limits (they cannot be increased above the license file limits).
The new error code ALMT_ERR (984) is returned when logon is denied because the number of distinct user accounts that are allowed to be connected at one time has been reached.
Independent Control of ISAM and SQL Connections
The c-treeACE Server configuration options MAX_ISAM_CONNECTIONS and MAX_SQL_CONNECTIONS can be used to set the maximum number of ISAM and SQL connections, respectively. These configuration options can only reduce the limits set in the license file (they cannot increase the limits).