Re: Multiple browser windows sharing the same session - dirty hack solution

2006-05-11 Thread Paul Singleton
Peter Hubbard wrote: ... 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. One (the only?) sure way to allow multiple sessions to coexist in a browser or PC is to spurn cookies and use only URL re

Re: Multiple browser windows sharing the same session - dirty hack solution

2006-05-11 Thread David Rees
On 5/11/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: On 5/11/06, Peter Hubbard <[EMAIL PROTECTED]> wrote: > 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 di

Re: Multiple browser windows sharing the same session - dirty hack solution

2006-05-11 Thread Michael Jouravlev
On 5/11/06, Peter Hubbard <[EMAIL PROTECTED]> wrote: 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? You can't on Firefox, but "one window -> one session"

Re: Multiple browser windows sharing the same session - dirty hack solution

2006-05-11 Thread David Ron
I think that you first have to define what you mean when you say, "logged in". When a person closes the browser window, have they logged out? How does Tomcat know this? Or, does the logout occur when the session is garbage collected? So, without knowing what "logged in" really means, how ca

Multiple browser windows sharing the same session - dirty hack solution

2006-05-11 Thread Peter Hubbard
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