On 6/16/25 7:25 AM, Charles Wilt wrote:
You really need to fix the program(s) holding the record lock.

Read with lock
Display
Update

Has been a bad idea since RPG existed.

Read w/o lock (and save)
Display
Read with lock
Compare to Saved version
If unchanged, update with users changes

That, and also set up your program so that it will eventually time out.

Our client-server applications are set up with the client sending a "heartbeat" request every thirty seconds, when otherwise idle, to verify that it's active, and the child-server job handling the connection timing out if it goes for two minutes without a request.

--
JHHL


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.