AW: Reconnecting to Valentina after timeout

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Jan 17 03:37:48 CST 2008


On 17/1/08 9:31 AM, "Ivan Smahin" <ivan_smahin at paradigmasoft.com> wrote:

> Hello Fabian,
> 
> Thursday, January 17, 2008, 9:18:38 AM, you wrote:
> 
>> Hi Ivan,
> 
>> I don't think that this is what I mean.
>> My Connection to the server is closed (timeout after 20 minutes inactivity).
>> I want to reconnect, but dbconnection.open seems not to be enough.
>> Dbconnection.isconnected returns true then but I cannot access the database.
> 
> It  would  not  work this way. There are always pair of objects - stub
> and proxy which are living on the client and server side respectively and
> working together.
> Closing  connection  (never mind who initiate it) leads to destroy all
> proxy objects for this connection in the server. So stubs are not able
> to communicate to the server and must be destroyed also.

In other words, you need kill your existed objects, and repeat procedure of
connect as first time.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list