Subject Re: [firebird-support] Re: Web Apps - cache lost when db disconnects
Author Milan Babuskov
jeff_j_dunlap wrote:
> If I understand correctly, the reopening the dummy connection is not
> necessary. I can simply leave the dummy connection open indefinitely.
>
> Is this correct?

Well, in theory - yes. But you still need to check whether you're
connected from time to time and reconnect if connection is lost (say,
for example, FB server gets restarted). If you leave your application in
an idle loop (with sleep()), it would fail to notice there is a problem.

--
Milan Babuskov
http://www.flamerobin.org
http://www.guacosoft.com