Session disconnection

L.Daclin

Member
Is there any way from the TOracleSession component to detect the disconnection of a session ?
I mean by disconnection a session which has been killed by the administrator or due to a hardware problem.

Thanks in advance for any answers.
Ludovic Daclin
 
Have a look at TOracleSession.CheckConnection

I've managed to use this in a server app for auto-reconnection after database shutdowns, etc. (i.e. it works)
 
Back
Top