Question about disconnect after lost connection
Posted: Thu 13 Jan 2022 22:02
Hello,
If a TOraSession has been timed out, but the TOraSession doesn't know it yet because it hasn't run a query in a while, then when the TOraSession is freed, there is a delay because it tries to disconnect first.
Is there a way that I can just free the TOraSession without any attempted interaction with the database?
I don't want to do this all the time - just in rare situations when I want to shut down my application as fast as possible.
Thanks
-John
If a TOraSession has been timed out, but the TOraSession doesn't know it yet because it hasn't run a query in a while, then when the TOraSession is freed, there is a delay because it tries to disconnect first.
Is there a way that I can just free the TOraSession without any attempted interaction with the database?
I don't want to do this all the time - just in rare situations when I want to shut down my application as fast as possible.
Thanks
-John