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
> -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
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'
>
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
> -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
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
[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
> -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.
>
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
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
> &
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
&
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
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
> -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
> 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
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
> (
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
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).
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
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:
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
> -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
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:[
23 matches
Mail list logo