Print Thread
Logon Timeout in Delphi 5.0?
#3117 02/23/02 01:23 AM
Joined: Feb 2002
Posts: 3
Boston, USA
G
Member
OP Offline
Member
G
Joined: Feb 2002
Posts: 3
Boston, USA
Hello everyone,

I would like to know if there is a why of catching/firing a timeout event when logging on an Oracle Session. I have tried using an OracleEvent component with the OnTimeOut event, however this event appears to be suspended while the logon handshake is taking place.

This is proving to be quite the interesting endeavour.

Thanks to all for your time.

Sincerely,

Gordon Cutts


gordonc.nospam@bosmedtech.com (take out '.nospam' for direct emailing).
Re: Logon Timeout in Delphi 5.0?
#3118 02/28/02 05:32 PM
Joined: Aug 1999
Posts: 22,216
Member
Offline
Member
Joined: Aug 1999
Posts: 22,216
I'm sure that Net8 has its own internal time-out concepts, which would of course lead to some TNS- or ORA- exception.

To implement an application level connection time-out, you would probably need to connect in a background thread, and somehow 'discard' it gracefully when the time-out occurs.

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.028s Queries: 13 (0.009s) Memory: 2.4985 MB (Peak: 3.0421 MB) Data Comp: Off Server Time: 2024-05-13 00:18:04 UTC
Valid HTML 5 and Valid CSS