This behavior happens using anydatabase for olympia or inmemory.
We have our session expiring in 30 minutes, to keep the client alive, we have a function to just ping the server (it does nothing) every 25 minutes, this works for the main connection, however, the events stop working after 30 minutes and all callbacks just stop working - we checked the lastacessed info in the session and seems to be working just fine
Our working around
We registered the callback again every 25 minutes in our “ping” function
RegisterEventClient(GUIDToString(OurCustomSession.SessionID), ‘’);
This is a new behavior and seems to be a bug, my question is, this is the right way to keep the callbacks alive or is a bug, looks like olympia is checking the wrong field to check the session is alive when sending events
Edit:
This behavior happens dosent matter the expire time we use, to do our tests we use 10 seconds, sometimes it dosent happens just after 10 seconds but a few seconds later the callback will stop
Edit2:
before olympia we used a regular sessionmanager in memory (Delphi 10.3) - still in delphi 10.3