SessionId after session.invalidate() does not change
807580Feb 25 2010 — edited May 14 2010
Hi, I have the following problem:
when user logs out from my webapp, i call session.invalidate() and then request.getSession(true); but i've noticed that sessionId of the newly created session does not change.
Since i use sessionId in logging operations of each user, i get logs for different users with the same sessionId.
Any idea to solve the problem? How can i get a new sessionId for the new session?
Thanks in advance.