I've been using client server application using datasnap... Everything works flawlessly until server is restarted. Once server is restarted client has to be restarted as well. If do not restart client, client can't communicate with server because of annoying issue "session has expired". Who faces same issue? How to solver? Thanks
I've created example project to clarify what I mean. Download link
Steps to reproduce the issue:
Ok, It seems I found a solution.
On client side just set TDSRestConnection.PreserveSessionID=False. I suppose every request will have new session id, thus it will never expire...