Page 1 of 1

check connected state

Posted: Wed 04 Sep 2013 10:20
by EarlyBird
Hi,
How can I determine if there is a connection to the Oracle server?
If for example the connection is interrupted by a towed network cable.
Is there a function in the ToraSession component?

Thank you for your support

Re: check connected state

Posted: Wed 04 Sep 2013 13:07
by bork
Hello

You can call the Ping method to check if connection is established. If connection was lost, then the OnConnectionLost event of TOraSession will be called.