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
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
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"
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
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