tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark <elihusma...@gmail.com>
Subject Re: custom session manager
Date Thu, 06 Oct 2005 16:55:15 GMT
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 <rosenberg.leon@googlemail.com> wrote:
> On 10/6/05, Tobias Meyer <tm@allocation.net> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message