Hi All,
First user ‘User 1’ is logged into the application via chrome browser, a session is established for the user. Now the second user ‘User 2’ is also logged into the application via Firefox, a new session is established for the User 2.
The issue is, when User 1 makes a request to the server, the response is coming to User 2. The response is always coming to the latest session registered in the application.
i have stored all the session
computeIfAbsent(userId, k → new CopyOnWriteArrayList<>()).add(sessionId);
while invalidating session below operation i am doing still not working
VaadinSession.getCurrent().getSession().removeAttribute(sessionId)