Subject connection problems with WLAN clients (timeout?)
Author Lutz Kutscher
Hi,
on some client computers i have an application running (WinXP, D7, IBO
4.6). It connects to a FB 2.0 database on startup.
The application then waits for quite a while (maybe 1, 2, 3 hours)
until a user "logs in" (with a magnetic stripe card).
At this moment the application becomes "active" and tries to identify
the user in the DB, does a few actions... continues waiting.

If I understand other post correctly, the connection is terminated by
the server after 2 hours of inactivity (?).
When the app tries to execute a query after that, I get the error
message "an established connection has been closed by the remote host"
("Eine vorhandene Verbindung wurde vom Remotehost geschlossen").

The problem I'm trying to solve: How can I get this status BEFORE the
query tries to execute. Looking at the IB_Connection's connected
status returns TRUE, but executing the query raises this exception.
Does the IB_Connection have some method like "check for valid
connection"?

TIA

Lutz