Subject | Counting users |
---|---|
Author | Brad Pepers |
Post date | 2002-02-02T20:52:23Z |
Is there any way to count users or to set a user limit for Firebird? I know
that since its open source it doesn't have licenses by users but anyone using
Firebird in a commercial software product would sure still like to have the
ability to set a limit! If I can't set the limit in Firebird, is there an
API command that will return the count of currently connected users or at
least how many the Super Server thinks are connected? This is only a problem
for me on Windows where it all runs in the Super Server. On Linux using the
Classic version, I can create a daemon that starts Firebird but counts users
properly. Now how to do so for Windows???
I know I could write an entry to a table when users connect and then remove
it when they disconnect but this is so fraught with perils I hate to do it!
--
Brad Pepers
brad@...
that since its open source it doesn't have licenses by users but anyone using
Firebird in a commercial software product would sure still like to have the
ability to set a limit! If I can't set the limit in Firebird, is there an
API command that will return the count of currently connected users or at
least how many the Super Server thinks are connected? This is only a problem
for me on Windows where it all runs in the Super Server. On Linux using the
Classic version, I can create a daemon that starts Firebird but counts users
properly. Now how to do so for Windows???
I know I could write an entry to a table when users connect and then remove
it when they disconnect but this is so fraught with perils I hate to do it!
--
Brad Pepers
brad@...