[V4MD_Client] Error 363, 351 and timeouts
Ruslan Zasukhin
sunshine at public.kherson.ua
Mon Jan 12 12:51:55 CST 2004
on 1/12/04 12:29 PM, Erich Geiersberger at erichg at mcmm.com wrote:
> Disconnects / timeout:
> What's the best way of tracking for errors in the following scenario.
>
> Some clients are logged in. One of them gets disconnected from the
> database due to the ini settings.
> His program (still running) will throw errors, when he tries to
> access the database after this type of disconnect. Do I need to track
> for errors on ANY Xtra call to see if he's still connected? What
> specific type of error should I track for? Or Is there an easier way?
I think that if you have obtain client-side cursor, then all data are on
client, and you still can iterate this cursor even to be disconnected.
But as only you will do SqlSelect(). Close(). Open(), ... And many other
operations it will return error.
Exact code I think present in Vserver.pdf
So usually, yes, you need check error code very often.
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
More information about the Valentina
mailing list