Subject | Re: [firebird-support] Controlling the Number of Simultaneous Users |
---|---|
Author | Anderson Farias |
Post date | 2007-11-30T16:47:33Z |
Hi,
|Are there any obvious ways to do this with Firebird?
Well, an option is to have some 'special' Firebird user that only your
application would use to connect to the database and always on connect you
could use services API to look at how many of this user is already
connected.
The down side is that 'hung' applications (app. that crashed) may count for
some time and you would be forced to use Super Server.
Regards
Anderson
|Are there any obvious ways to do this with Firebird?
Well, an option is to have some 'special' Firebird user that only your
application would use to connect to the database and always on connect you
could use services API to look at how many of this user is already
connected.
The down side is that 'hung' applications (app. that crashed) may count for
some time and you would be forced to use Super Server.
Regards
Anderson