There is one problem with this approach.  Load balancing/clustering. 
If you have a HashMap in one tomcat JVM, how does that information get
propogated to other JVM's possibly on other machines?

Thank you by the way for all the inputs so far....

On 10/6/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
> On 10/6/05, Tobias Meyer <[EMAIL PROTECTED]> wrote:
> > The problem is AFAIK, that you cannot access the list of all sessions
> > through the servlet-api.
> > That feature was in the servlet-api at some time, but was removed, IIRC due
> > to security issues.
> >
> > If you have a list of all sessions, you can easily iterate over them at
> > login and manually expire all old sessions for the same user. => Max. one
> > active session per user.
>
> ok, got you, yes that's feasible
> thanx for explanations
> leon
>
> ---------------------------------------------------------------------
> 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]

Reply via email to