On Friday 09 November 2007 1:10 am, Tomasz Sterna wrote: > Dnia 08-11-2007, Cz o godzinie 11:11 -0800, Justin Karneges pisze: > > I mean: in the > > > > > unlucky case of an entity having two open sessions and losing both > > > > of > > > > > them, how can the server decide which is the session to recover, but > > > adding some semantics to the ids? > > > > When you connect again, you specify the ack session id of the > > disconnected > > connection, so that the server knows which session you are trying to > > recover. > > The problem described is what happens with two lost sessions at the same > time. > Without semantics encoded in the ID server has no way of guessing which > session is trying to reconnect.
Each session is given a unique id. There is no "guessing" for the server to do, because no two sessions would be given the same id. Why is this thread still going? :) -Justin
