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:04:39 GMT
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


Mime
View raw message