Hello everyone,
Suppose you have a program that establishes a database connection
upon program startup and closed the connection when the user exits.
Joe User starts the application (which opens the db connection),
then goes to town for 3 hours... when he returns, the connection
has apparently timed out (gee, wonder why??)...
Is there a way to check to see if the connection has timed out?
I have used the .state property to see if a connection is open or
closed, but didn't know if I could use that same .state to determine
if the connection actually timed out or it was lost...
What type of activity has occured on the connection? User authentication
with the database, then it sits idle (until the user specifies data to
be accessed).
Any ideas?
Suppose you have a program that establishes a database connection
upon program startup and closed the connection when the user exits.
Joe User starts the application (which opens the db connection),
then goes to town for 3 hours... when he returns, the connection
has apparently timed out (gee, wonder why??)...
Is there a way to check to see if the connection has timed out?
I have used the .state property to see if a connection is open or
closed, but didn't know if I could use that same .state to determine
if the connection actually timed out or it was lost...
What type of activity has occured on the connection? User authentication
with the database, then it sits idle (until the user specifies data to
be accessed).
Any ideas?