Tomasz Dubiel wrote 07.05.2023 21:44:
> To view the current users logged into the system and the names of these users'
> "computers" which the license for particular ERP module was given.
IIRC, your ERP is a web-application (or any other kind of multi-tier
architecture), right? So there is no relation between database connection and
user connection.
In this case a table with insert of CURRENT_ATTACHMENT and other info in ON
CONNECT trigger and delete in ON DISCONNECT trigger is more than enough. The
only case when records in such table can "stuck" is a Firebird server crash and
cleanup of the table can be a part of recovery process.
--
WBR, SD.