2

Does somebody know how to retrieve client GUID when connecting to server in RemObjects SDK ? (using SuperTCP/IP protocol)

EmirZ
  • 646
  • 4
  • 10
  • 21

1 Answers1

5

To get the session ID of the current connection on the server, use SessionID property:

SessionIDString := GUIDToString(Session.SessionID);

The Session object is found in the uROSessions unit.

To get the session ID on the client, use ClientID property:

SessionIDString := GUIDToString(RemoteService.Message.ClientID);

RemoteService is your connection's TRORemoteService object.

TLama
  • 75,147
  • 17
  • 214
  • 392
norgepaul
  • 6,013
  • 4
  • 43
  • 76