Open thinktouch opened 6 years ago
the version 1.7.7 can help you.
Yeap. I had the same problem. With 1.7.7 version the problem has been solved :)
1.7.13 also works
1.7.17 doesn't: if I have 2 tabs the 2 socketIOClient.getSessionId()
calls will return the same value.
I see on the tracker that there has been many discussions about this, what is the expected behavior (1 sessionId/tab or 1 sessionId for all the tabs)?
I hope it will be useful for others facing the same issue. One can use com.corundumstudio.socketio.Configuration#setRandomSession
to support multiple tabs. Please see https://github.com/mrniko/netty-socketio/issues/593 and https://github.com/mrniko/netty-socketio/pull/630.
Originally posted by @StereoApp in https://github.com/mrniko/netty-socketio/commit/9ccdb36019e1ca981308c4456963c9ef75d82f56#commitcomment-30444681