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.");
     redirect="/errors/alreadyloggedin.jsp";
}
else
{
     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?

Thanks

-- 
Peter Hubbard <[EMAIL PROTECTED]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to