In sessionDestroyed I register the user as logged out.

How can I know if sessionDestroyed is called from session.invalidate() from the 
real expiration of the session or shutdown of one cluster node?


Ronald.

On Thu Mar 20 17:40:26 CET 2008 Tomcat Users List <users@tomcat.apache.org> 
wrote:
It's expected behavior, sessions will always expire on the local node during a graceful shutdown.

expireSessionsOnShutdown="false" simply means that we don't expire sessions in the remote nodes

Filip


Ronald Klop wrote:
> Hello,
>
> When I shutdown a node in my cluster (tomcat 5.5.26) sessionDestroyed > is called on all SessionListeners on that node. > But I'm running a cluster, so one node stopping doesn't mean the > session is destroyed.
>
> My understanding is that expireSessionsOnShutdown="false" by default > and I don't change it in my config.
>
> Is this a bug, a feature or am I doing something wrong?
>
> Ronald.
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG. > Version: 7.5.519 / Virus Database: 269.21.7/1334 - Release Date: 3/18/2008 8:52 PM >

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to