florindaniel
Programmer
Hello,
I need some advice, please:
I have an SQL Server based application, a point-of-sale, written in VFP; the connection is
established via Internet, using a VPN.
Each time there's a sale, I connect to the SQL server and after the bill is finished I disconnect.
It works fine with the exception of the connection phase being slow, some 1-1.5 secs wich is annoying.
Do you think it would be better to grab a connection handler in the morning and use it all day?
Does it work like that or there's some maximum lifetime for a connection?
How do you think I should manage this issue?
Thank you,
Daniel
I need some advice, please:
I have an SQL Server based application, a point-of-sale, written in VFP; the connection is
established via Internet, using a VPN.
Each time there's a sale, I connect to the SQL server and after the bill is finished I disconnect.
It works fine with the exception of the connection phase being slow, some 1-1.5 secs wich is annoying.
Do you think it would be better to grab a connection handler in the morning and use it all day?
Does it work like that or there's some maximum lifetime for a connection?
How do you think I should manage this issue?
Thank you,
Daniel