I have a session scoped bean (I have checked the imports and they are correct for ManagedBean). There is a main page which checks if the user has been authenticated by calling one of the get methods of the session bean. Upon first view I see that the Session Bean is correctly constructed. If I attempt a login, I see that the correct method is called and the login succeeds. However, when the user is redirected back to the main page the constructor of the session bean is called again. Any ideas?
Asked
Active
Viewed 441 times
1
-
do you invalidate your session somewhere in between the process ? – Daniel Feb 14 '13 at 11:23
-
Please track the `JSESSIONID` cookie and post your observations. – BalusC Feb 14 '13 at 12:08
-
I had in fact invalidated the session. Thanks for the help – avrono Mar 05 '13 at 22:08