Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

Spring web socket session management

I’m using spring web socket and stomp js. I’m working on live chat system. My question is when my app established a bidirectional connection with server and create a session. After that the chat process is start and get a session Id but when I refresh the page. The stomp js create new socket connection with new session Id and at the server end the old session id is still persists. Could you have any idea to manage socket session Id or using the same session Id again with the same request or manually remove the inactive session.

Comments