tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Herrmann <...@jadn.com>
Subject Re: [PROPOSAL] When Session Max reached, throw out oldest session
Date Thu, 13 Jun 2002 11:51:47 GMT
On Thu, 2002-06-13 at 03:43, Kief Morris wrote:
> bob@jadn.com typed the following on 05:22 PM 6/12/2002 -0400
> >PROPOSAL:  When Session Max reached, throw out oldest session
> ...
> >1. When the maximum number of sessions is reached, change
> >StandardManager from throwing an IllegalStateException exception, to
> >expiring the Least Recently Used (LRUMap) session.
> 
> I'm not 100% comfortable with this, if a server sets the max sessions
> too low and gets a lot of activity, the behavior will be confusing - users
> will unexpectedly lose logins or whatever their session data is, and it
> might be taken for a bug by the administrator. I guess I'll be happy as 
> long as we log a warning when sessions are thrown out due to max 
> sessions being exceeded.

Good idea, I will be sure to log the expiration event, and I will also
ensure that the admin documentation is updated to explain this behavior.

Cheers,
-bob


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message