Print Thread
Send "PING" after a specific idle time
#9962 09/04/08 02:11 PM
Joined: May 2005
Posts: 22
B
Member
OP Offline
Member
B
Joined: May 2005
Posts: 22
We have found that the IT department of a customer has installed a firewall between our application and the Oracle server.
The firewall is configured to keep the ports stateful so tags can be given to a packet stream. When the packet stream stops (such as with an idle application) the state is changed and then dropped after 60 minutes, causing a Oracle disconnect error.

Can I configure the DOA-Components to send a ping after XX minutes idle-time or must I implement my own "idle-statement"?

Best regards

Bernhard

Re: Send "PING" after a specific idle time
#9963 09/04/08 02:45 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
You will need to implement a little TTimer event. The easiest "Ping equivalent" is to call TOracleSession.CheckConnection, assuming that the application has a connected session.


Marco Kalter
Allround Automations
Re: Send "PING" after a specific idle time
#9964 09/04/08 08:57 PM
Joined: May 2005
Posts: 22
B
Member
OP Offline
Member
B
Joined: May 2005
Posts: 22
Thank you,

I will try it.


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.059s Queries: 13 (0.007s) Memory: 2.5032 MB (Peak: 3.0426 MB) Data Comp: Off Server Time: 2024-05-16 18:10:04 UTC
Valid HTML 5 and Valid CSS