Subject | Re: [firebird-support] How to limit the number of concurrent users to a database |
---|---|
Author | Jesús García |
Post date | 2012-06-13T21:03:16Z |
Why control it in the server side?if your customer can connect to the database as sysdba, can remove the trigger or change the logic in the connect event.
If You do it on the client side, after connect, do a select of mon$attachments and if it is greater than the licensed concurrent connections, then You can disconnect the user or show the connection list and let the user drop an existing connection.
Jesus
If You do it on the client side, after connect, do a select of mon$attachments and if it is greater than the licensed concurrent connections, then You can disconnect the user or show the connection list and let the user drop an existing connection.
Jesus