I am developing an application with help Spring MVC, and I come across some unexpected behavior while observing an object http session. When constantly placing several tabs on the server in the same browser window, I noticed that from time to time the session object is updated (a new object with a new hash code with empty attributes, but the isNew method returns "false" as expected). We use Spring Security, but we do not configure session management.
I track this behavior in the servlet filter.
Can someone shed some light on why this is happening?
source
share