LDEV-4293 Rewrite session invalidation mechanism Server-side non-current session invalidation does not work well on clustered WildFly 10. It…
Show more
LDEV-4293 Rewrite session invalidation mechanismServer-side non-current session invalidation does not work well onclustered WildFly 10. It breaks Infinispan distributed session cache andmakes a logged out user clear LAMS cookies, otherwise he/she gets ablank screen. See WFLY-7281 and WFLY-7229.So instead of invalidating a session we mark it for invalidation. Thenext time the user tries to use it, the session gets invalidated and theuser gets an error screen (not a very clean solution, but more effectivethan another filter which would nicely redirect the user to logoutscreen).This solution seems to work nicely if both browsers interact with thesame node. Since we use distributed session for failover rather thanreplication, it should be OK.
Show less