resume broken connection
Moderators: gto, cipto_kh, EgonHugeist
resume broken connection
Hi,
We have a customer who uses a wireless laptop in combination with
our application.
Sometimes the connection is broken, and the program crashes.
Is there a manner to resume the connection automatically without
crashing the program?
We are using delphi 7 sp 1, zeoslib 6.5.1, sql server 2000 sp4 and dblib.
Thanks.
We have a customer who uses a wireless laptop in combination with
our application.
Sometimes the connection is broken, and the program crashes.
Is there a manner to resume the connection automatically without
crashing the program?
We are using delphi 7 sp 1, zeoslib 6.5.1, sql server 2000 sp4 and dblib.
Thanks.
i think this is one function that should be implmeneted by zeoslib. Also the driver should support keep alive connections or a function to keep the conenction alive.
If you can do a research for that function in Dblib this could help Zeos developer Team members to implement the function in correct the Driver class
Maybe this can be a Feature request. post it on SF site
If you can do a research for that function in Dblib this could help Zeos developer Team members to implement the function in correct the Driver class
Maybe this can be a Feature request. post it on SF site
Hi,
I having the similar problem, only it was under the internet enviroment.
I would like to know under which event it will be trigger?
Or which function to determine the connection was disconnect
before starting query Open or Exec?
I try to catch the exeception, and used back the connection
from the TZQuery, but it failed with more errors.
Regards
KL Chin
I having the similar problem, only it was under the internet enviroment.
I would like to know under which event it will be trigger?
Or which function to determine the connection was disconnect
before starting query Open or Exec?
I try to catch the exeception, and used back the connection
from the TZQuery, but it failed with more errors.
Regards
KL Chin
Hi,
I did not have a solution, current I just a capture the
exceptional, if the error occured due to connection then
reconnect the connection and re-exec the SQL,
in short all SQL's open or exec will call a function instead
a Zeos method directly, by passing the TZquery and
TZConnection.
Hope this information can help you.
Regards,
KL Chin
I did not have a solution, current I just a capture the
exceptional, if the error occured due to connection then
reconnect the connection and re-exec the SQL,
in short all SQL's open or exec will call a function instead
a Zeos method directly, by passing the TZquery and
TZConnection.
Hope this information can help you.
Regards,
KL Chin