on 8/30/03 22:43, Tim Davis at timdavis .AT. amug DOT org wrote:
Hi Tim, Hi Igor,
> Hi, > I'm looking for a graceful way to reconnect after connection > timeout. I'm having trouble getting verification that the connection > has been dropped. How does each client app test its database > connection? (The database instance is not null even after disconnect.)
Yes, of course, db instance will not be and cannot be nulled.
Well, let's think.
When we open db on disk, we check if it is opened using
db.IsOpen()
For remote access we can use IsOpen() to check connection status. Igor, agree?
-------- Tim, am I right?
You have stick into case that server have disconnect a client in case of long idle?
Igor this already works as I know, yes?
What timeout on default?
As I understand this can be managed in the ini file, yes? And can a developer set NO TIMEOUT? I.e. Very long timeout?
-- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina -------------------------------------------------------------
_______________________________________________ Valentina mailing list Valentina .AT. lists DOT macserve.net http://lists.macserve.net/mailman/listinfo/valentina
©2003 Ruslan Zasukhin |