Icon OnServerSessionEvent Event

property OnServerSessionEvent: TEDBServerSessionEvent

The OnServerSessionEvent event is fired when a remote session connects, logs in, reconnects, logs out, or disconnects from the ElevateDB Server when the EngineType property is set to etServer. Write an event handler for this event in order to track and display these activities in a visual interface for the server.

Warning This event can be called from multiple threads, so any code that is called from this event handler must be thread-safe.

Please see the edbsrvr.dpr GUI ElevateDB Server and the edbcmd.dpr command-line ElevateDB Server projects that are provided with ElevateDB for more information on how to use this event. You can find these servers in the \servers\edbsrvr and \servers\edbcmd subdirectories under the main ElevateDB installation directory, and you can find the source code to these servers in the \source subdirectory under each server's directory.
Image