tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Hubbard <>
Subject Multiple browser windows sharing the same session - dirty hack solution
Date Thu, 11 May 2006 10:34:39 GMT
Quite simply, if you have already logged in to the system, you get
kicked out until later. Like so:

HttpSession session = request.getSession(true);
if (session.getAttribute("details")!=null)
     log.warn("Already logged in.");
     session.setAttribute("details", client);                
     redirect = "/portal/portal.jsp";

This gets me out of the problem of multiple logins through the same
browser window (Firefox and Opera) or the same PC (IE) having their
session information confused.

I've not found any other ways around this problem, or solutions of how
to allow individual browser windows and tabs to have individual session
data. Is there a real solution for this, and if so could some kind soul
please point me in the right direction?


Peter Hubbard <>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message