On Wed, Jun 7, 2017 at 1:58 PM, Herzog <[email protected]> wrote: > ... > > I am trying to integrate Guacamole into my bachelor thesis project (a web > app of it's own). > > ... > > I am now trying to implement a session sharing feature. And after stumbling > across another code of yours, I would try the following for all but the > first clients: > >> GuacamoleConfiguration config = new GuacamoleConfiguration(); >> config.setConnectionID(previouslyStoredId); >> GuacamoleSocket socket = new ConfiguredGuacamoleSocket(new >> InetGuacamoleSocket(guacamoleHost, guacamolePort), config); > > Does that sound about right? >
Yes. As long as previouslyStoredId is the ID value from getConnectionID() of the ConfiguredGuacamoleSocket for the connection being joined, and guacamoleHost and guacamolePort are the hostname and port of the instance of guacd used for the connection being joined, this should work fine. - Mike
