I am using spring security 3.0.2. All application pages are protected, so you must be authenticated to see them.
I am using https protocol.
I have a strange problem: after successfully logging in and going to the requested page, when I tried to open any link to other pages of the application, the session is invalid or lost, and the user becomes anonymous and redirected to the login page. I got this from debugging:
No HttpSession currently exists
No SecurityContext was available from the HttpSession: null. A new one will be created.
After repeatedly reviewing the code, nothing in the code cancels the session. Any ideas? Why could something like this happen?
source
share