is sessionId of both session objects the same?
can you reproduce the problem on wildfly 10?
Yes the sessionId are the same in the 2 httpsession (I use the sessionID as workaround to clean my "vector sessions").
I'm currentling migrate from AS7 and this part Of code is "old code without' problem'.
I'havent try on wildfly 10.
There is nothing in the servlet specification that dictates that the HttpSession references returned by these 2 events should be the same.
Thanks for your response.
Perhaps this is not specified but the behavior is the same for over 15 years ..., It would be interesting to specify this interface rupture with all previous versions of Jboss AS.