EROSuperHTTPChannelException Invalid client id

Delphi 7, RO SDK 6.0.57.993, TROSynapseSuperHTTPChannel, Win32.

An Invalid client id exception is thrown on my server in the following situation:

  1. A client logs in and logs out from the server.
  2. The server is shut down and re-started. The client remains running.
  3. The client tries to login.
  4. The server raises an EROSuperHTTPChannelException with “Invalid client id” as its message.

I have tried to set the BinMessages’s ClientID to EmptyGUID as suggested in the following thread, but to no avail. :http://connect.remobjects.com/discussion/306/remobjects-sdk-superchannelexception-invalid-client-id

Of course, restarting the client solves the issue.

Could you please offer some suggestions as to what might be causing this, and how the client can recover without restarting.

Cheers,
José

Hello,
Can you test this situation on SuperTCPChannelChat sample? (Change tcp channel to SynapseSuperHTTP).
You can find it in:
Windows XP: C:\Documents and Settings\All Users\Documents\RemObjects Samples\RemObjects SDK for Delphi
Vista,Win7: C:\Users\Public\Documents\RemObjects Samples\RemObjects SDK for Delphi\

If you want to save sessions after restarting server you should use TROOlympiaSessionManager or TRODBSEssionManager.
Read about them in wiki:
http://wiki.remobjects.com/wiki/TROOlympiaSessionManager_Class
http://wiki.remobjects.com/wiki/Olympia
http://wiki.remobjects.com/wiki/TRODBSessionManager_Class
Can you send us your testcase?