[V4MD_Client] Error 363, 351 and timeouts

Erich Geiersberger erichg at mcmm.com
Mon Jan 12 13:23:39 CST 2004


>  > 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.

Hmm, but didn't you you recommended to use server side cursors 
instead of client side?


>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.

Ok



More information about the Valentina mailing list