Salesforce

The Enhanced CONNECTED() method only resets the inactivity timer of the first asynchronous request

« Go Back

Information

 
TitleThe Enhanced CONNECTED() method only resets the inactivity timer of the first asynchronous request
URL NameThe-Enhanced-CONNECTED-method-only-resets-the-inactivity-timer-of-the-first-asynchronous-request
Article Number000290581
EnvironmentProduct: OpenEdge
Version: 12.2 or later
OS: All supported platforms
Other: PASOE
Question/Problem Description

When executing asynchronous calls, each simultaneous request will have its own connection handle. These connection handles are maintained and reused by the server object on the client (e.g. CREATE SERVER hServer). If there are 3 simultaneous asynchronous requests, the server object has 3 connection handles. When at a later moment, after the initial requests were made, more requests are executed, then the connection handles will be reused in the same order as originally created.

For example, assume that at a certain time there are 3 simultaneous requests, but for the next period only 1 request is made at a time. After a certain period, there are 3 simultaneous requests again. At this point, it is possible that the second and third connection handle have timed out. To prevent this, the CONNECTED() method can be used on the server object to reset the inactivity timer of a connection handle. However, this only works for the first connection handle when making asynchronous requests. There is no way to reset the inactivity timer of the second and third connection handle with the CONNECTED() method.

Steps to Reproduce
Clarifying Information
Error Message
Defect NumberOCTA-82172
Enhancement Number
Cause

The exact cause is not known at this time.

Resolution

None at this time.

Workaround
Notes
Keyword Phrase
Last Modified Date10/2/2025 11:26 AM

Powered by