Subject Re: [firebird-support] Action on disconnect
Author Aage Johansen
On Fri, 12 Sep 2003 08:28:55 +0000 (UTC), Helen Borrie wrote:

> At 11:28 AM 2/09/2003 +0200, <someone> wrote:
>> Is there any way to trap a client disconnexion? That is, I would like to
>> be able to do something specific when a client connexion is cut. Is this
>> possible?
>
> No.
>
>
>> I've asked this on the Interbase newsgroup, and they say it's not
>> possible. Can this be done with FireBird? If not, wouldn't this be a
>> useful (and simple) thing to implement?
>
> I don't know. What would be trapped? Who or what would trap it? What
> would the purpose be?


An "OnDisconnect trigger" would perhaps need to surface more information
than is readily available today about a connection - e.g. username and ip
address.

There once was some discussion of an "OnConnect trigger". It could
possibly also log failed attempts to connect.


--
Aage J.