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:[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 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:[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 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:[EMAIL PROTECTED] > > Sent: Wednesday, July 28, 2004 3: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 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]