RemObjects SDK - how to retrieve client GUID from server when connecting to server?
Does somebody know how to retrieve client GUID when connecting to server in RemObjects SDK ? (using Supe开发者_开发知识库rTCP/IP protocol)
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.
精彩评论