>
> Hi everybody!
>
> I've got a problem. My aplication was developed to allow some =
> connections at the same time with the same user and password and without
=
> session time invalidation. But now, it's necessary to avoid all of this.
=
> So i've thought to control the different logins with a hashtable in the =
> app context, but my problem is that i don't know when an user session =
> ends or when the nvigator is closed.
>
> plz, can anybody tell me a way to resolve this?
>
> thx
>
In servlet 2.3, there is an HttpSessionListener object. These listeners
receive messages about sessions created and destroyed. In order to
receive these messages, the classes implementing this interface must be
configured in the deployment descriptor of the web application. See the
J2EE JavaDoc.