I want to ask you something, how to use this session, when I log in , and then refresh the page it's back to the login form, I thing I'm doing something wrong.
The code is "working".But when I log in, and when it display my name, when I refresh the page, login form appear, and the name disappear.I think my problem is whit the session .
There should be some logic in the doGet method that checks whether a session exists, and -if there is one- does something other than display the login form - maybe redirect to the main page.