[OT]RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Shyam Anand
July 28, 2004 4:59 PM > > To: Struts Users Mailing List > > Subject: Re: Not Logged in with the same > loggin-password if it is > > already registered. > > > > > > Agreed, you did spot the phrase "wacky" in there, > yes? > > Javascript c

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Jim Barrows
> -Original Message- > From: McClung, Brian [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 28, 2004 2:05 PM > To: 'Struts Users Mailing List' > Subject: RE: Not Logged in with the same loggin-password if it is > already registered. > > > S

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread McClung, Brian
To: Struts Users Mailing List Subject: RE: Not Logged in with the same loggin-password if it is already registered. > -Original Message- > From: McClung, Brian [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 28, 2004 1:57 PM > To: 'Struts Users Mailing List' >

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
4 4:59 PM > To: Struts Users Mailing List > Subject: Re: Not Logged in with the same loggin-password if it is > already registered. > > > Agreed, you did spot the phrase "wacky" in there, yes? > Javascript can be > very useful, in moderation. I've rarely used

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Jim Barrows
> -Original Message- > From: McClung, Brian [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 28, 2004 1:57 PM > To: 'Struts Users Mailing List' > Subject: RE: Not Logged in with the same loggin-password if it is > already registered. > > > This t

Re: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Brett Connor
7;s good for you you will stay right away from javascript.. -Original Message- From: Brett Connor [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 4:47 PM To: Struts Users Mailing List Subject: Re: Not Logged in with the same loggin-password if it is already registered. AFAIK session

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread McClung, Brian
[mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 3:40 PM To: Struts Users Mailing List; Struts Users Mailing List Subject: RE: Not Logged in with the same loggin-password if it is already registered. Yes but wont the container "know" when a user closes his/her window? Are you s

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Jim Barrows
> -Original Message- > From: Geeta Ramani [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 28, 2004 1:40 PM > To: Struts Users Mailing List; Struts Users Mailing List > Subject: RE: Not Logged in with the same loggin-password if it is > already registered. >

Re: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Brett Connor
To: Struts Users Mailing List Subject: Re: Not Logged in with the same loggin-password if it is already registered. AFAIK session timeout is the only notification you can get here. There are undoubtedly some wacky things we can do with javascript - reduce the session timeout to a small value an

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
s a solution to a kind of > "opposite" problem - when a user logs off we need to do soem > work so.. this seems to work nicely) > > > > > > > >>-Original Message- > >>From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow > &

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
t; From: Brett Connor [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 28, 2004 4:47 PM > To: Struts Users Mailing List > Subject: Re: Not Logged in with the same loggin-password if it is > already registered. > > > AFAIK session timeout is the only notification you can get &

Re: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Brett Connor
a kind of "opposite" problem - when a user logs off we need to do soem work so.. this seems to work nicely) -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow Sent: Wednesday, July 28, 2004 4:28 PM To: [EMAIL PROTECTED] Subject: Re: Not Logged in wit

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Robert Miller
From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow > Sent: Wednesday, July 28, 2004 4:28 PM > To: [EMAIL PROTECTED] > Subject: Re: Not Logged in with the same loggin-password if it is > already registered. > > > Maybe you could have a hashtable in the Se

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Jim Barrows
> -Original Message- > From: Geeta Ramani [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 28, 2004 1:25 PM > To: Struts Users Mailing List > Subject: RE: Not Logged in with the same loggin-password if it is > already registered. > > > Exactly! Or use HttpS

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow > Sent: Wednesday, July 28, 2004 4:28 PM > To: [EMAIL PROTECTED] > Subject: Re: Not Logged in with the same loggin-password if it is > already registered. > > > Maybe you could have a hashtable in the Serv

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
ednesday, July 28, 2004 4:05 PM > To: Struts Users Mailing List > Subject: RE: Not Logged in with the same loggin-password if it is > already registered. > > > Ricardo: > > Not sure where you are having problems..? Why wouldn't > something like this > (

Re: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Bill Siggelkow
Maybe you could have a hashtable in the ServletContext that maps loginId to HttpSession -- then use a HttpSessionListener to listen for session creation -- when the session is created look for a value in the hashmap in the servlet context -- if it is there then invalidate the mapped session. Th

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread David Friedman
Ricardo, I can't think of any easy way to do that strictly within JAAS, but you didn't write if you were using JAAS. If you are using an Account object (of some sort) in the Session context, here is an idea for you: Have an application-scope object containing a map of usernames (or id numbers).

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
Message- > From: Ivan Vasquez [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 28, 2004 4:24 PM > To: Struts Users Mailing List > Subject: RE: Not Logged in with the same loggin-password if it is > already registered. > > > It may not be as easy as the current sessio

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread David Friedman
d the same jsessionid (at least in Tomcat 4 & 5). Regards, David -Original Message- From: Geeta Ramani [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 4:05 PM To: Struts Users Mailing List Subject: RE: Not Logged in with the same loggin-password if it is already registered. Ricardo:

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Ivan Vasquez
ActiveSessions. Ivan Vasquez (Compatriota :-) -Original Message- From: Geeta Ramani [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 4:05 PM To: Struts Users Mailing List Subject: RE: Not Logged in with the same loggin-password if it is already registered. Ricardo: Not sure where you are

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Jim Barrows
> -Original Message- > From: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 28, 2004 12:04 PM > To: [EMAIL PROTECTED] > Subject: Not Logged in with the same loggin-password if it is already > registered. > > > Hello Guys > I need not to let users to login in m

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
Ricardo: Not sure where you are having problems..? Why wouldn't something like this (pseudocode) work? if (isLoggedIn(user)) { session.invalidate(); } //now proceed normally with login with un/pw... Regards, Geeta > -Original Message- > From: Ricardo Andres Quintero [mailto:[