struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Friedman" <hum...@ix.netcom.com>
Subject RE: Not Logged in with the same loggin-password if it is already registered.
Date Wed, 28 Jul 2004 20:27:52 GMT
Geeta,

I read Ricardo's message differently in that the new login would come from
another machine, so the session wouldn't be shared and invalidated as you
wrote below.  ough, technically, it (the session) could be shared across
computers if cookies were turned off and they had the same jsessionid (at
least in Tomcat 4 & 5).

Regards,
David

-----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


Mime
View raw message