struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geeta Ramani" <gram...@terralink.com>
Subject RE: Not Logged in with the same loggin-password if it is already registered.
Date Wed, 28 Jul 2004 20:16:00 GMT
You are quite right and I realised this after reading jim's response.. As a matter of fact
we are using sort of the method taht jim suggested in his note (with a database).. so i am
not sure why i was being stupid.. So never mind me: am going back to smoking crack..

> -----Original Message-----
> From: Ivan Vasquez [mailto:ivan@itos.uga.edu]
> 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 session (for the new 
> login) and the session that you want to invalidate are 
> different objects.
> 
> The main issue would be how to get a reference to all active 
> sessions via some session id. Apache Axis, for example, keeps 
> track of them with a list of ActiveSessions. 
> 
> Ivan Vasquez
> (Compatriota :-)
>  
> -----Original Message-----
> From: Geeta Ramani [mailto:gramani@terralink.com] 
> 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 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:rquintero@ubiquando.com.co]
> > Sent: Wednesday, July 28, 2004 3:04 PM
> > To: user@struts.apache.org
> > 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 my app simultaneosly.
> > I mean if a login-password is actually logged in, i need to
> > invalidatye that session and then let the new login-password 
> > to work in, after invalidating the old session.
> > 
> > Any ideas? and of course any examples?  
> > 
> > --
> > Ricardo Andrés Quintero R.
> > Ubiquando Ltda.
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message