Hi there,
My problem is, when I open n times the same browser to invoke my login page to login, i become always the same session with the same sessionID. In tomcat manager tools. It shows also only one session. When I logout in one of the browser, the rest is also dead.
By loggingon I get the session with the following code:
FacesContext context=FacesContext.getCurrentInstance();
HttpSession session = (HttpSession) context.getExternalContext().getSession(true);
By loggingout I destroy the session so:
HttpSession session = (HttpSession) context.getExternalContext().getSession(false);
session.invalidate();
Can you tell me how can I fix the problem?
m_z