struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Monkeyden <monkey...@gmail.com>
Subject Re: How to avoid the same user logging several times at the same time?
Date Tue, 05 Sep 2006 16:17:25 GMT
Data Structure - Initialize a static map somewhere (perhaps the Servlet).
Verification - For every login, check the map to see if the supplied
credentials exist.
Clean up - Implement HttpSessionBindingListener to remove the credentials
from the map when the Session expires.


On 9/5/06, Pedro Del Gallego <pedro.delgallego@gmail.com> wrote:
>
> Hi,
>
> I like to avoid to users can run the application in a moment.  A user
> can only have one application running in a moment.
>
> Now i manage the session using jsessionid and expire session.
>
> <session-config>
> <session-timeout>10</session-timeout>
> </session-config>
>
> There are a better form to avoid these behavior? Do you now a
> tutorial or article that explain this topic?
>
> Thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message