In my Spring Security logout form I need access to session variables.
I am finding if <logout invalidate-session=”true” within the http tag then I lose them.
Setting <logout invalidate-session=”false” fixes the problem
But there must be a reason you set <logout invalidate-session=”true. in the default M4S scaffolding.
Is there any risk being run by not invalidating the session?
Thanks