Hi
I want to check if an user tries to login with an userId for
which a session is already existing and show a message.
This can also be applied if two users want to share the same
userId and try to login at the same time.
Whenever a session is being created by the
I know what you want to do. In the web environment, it is impossible.
For every solution you can think of, I can come up with at least 2 what
if scenarios that will invalidate your logic.
I've been through this with at least 5 different Product Managers and
there is just no way to handle it.
Not without using a persistent connection with an applet. HTTP is a
stateless protocol, remember?
-Original Message-
From: Aravapalli, Udaya [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 04, 2002 11:46 AM
Is there any way to determine an browser closing action by the user and
No - there's not a reliable way to do it. You could lower your session
timeout - or simply inform your users of the consequences of not logging
out. Of course, there are going to be some folks who will have Windows
crash on them (!) and they might get a bit perterbed that - through no
fault
:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Friday, October 04, 2002 11:15 AM
To: Struts Users Mailing List
Subject: Re: [OT] [session] Shared userId
I know what you want to do. In the web environment, it is impossible.
For every solution you can think of, I can come up with at least 2
Well, I guess you could keep multiple logins down to a single user
(preventing more than 1 user to login), but trying to keep the use in
one window is where things fail.
If using JavaScript is out, then I suppose you could detect a user who
has multiple windows, through proper use of tokens
6 matches
Mail list logo