OnSessionTimer Event

Applies to
TIB_Transaction

Declaration
TIB_SessionTimerEvent = Procedure(AIB_Component: TIB_Component; var Terminate: boolean ) of object;

Description
By default the session produces a continual series of timer notifications in order to serve as the backbone to timing related issues in IBO. For now they are only being propagated to the transaction components because that is all that needs them. I use them to clear out physical transactions that are no longer required in order to free up server resources and allow garbage collection to take place on the server.

It is possible to use this event for other things, such as make sure that a user's transaction doesn't take too long and possible keep records locked or back up garbage collection on the server. Transaction pausing is something that could be hooked into this event.

By default this event will trigger once a minute. I will setup a property on the TIB_SessionProps component so that you can control the frequency of event notifications.