The sessions are saved inside
$CATALINA_HOME/work/catalina/localhost/APPNAME/sessions.ser

In case you deploy a new version of your application or make
modifications, I suppose Tomcat sees this as a new application and
removes your current APP work-dir, and thus it's sessions.ser file

Correct me if I'm wrong.

Pieter

On Thu, 2009-02-05 at 20:05 -0800, J Robert Ray wrote:
> Hello, I have an app running in tomcat 6.0.18, using the default
> session manager.
> 
> If I stop and start tomcat, or if I use the "reload" button in the
> manager, my sessions are preserved.
> 
> But if I copy a new .war into webapps, or touch the existing .war, so
> that my app redeploys, my sessions are deleted.
> 
> Is this expected behavior? It would speed up my development cycle if I
> could deploy a new build of the app without having to re-login to the
> app in the browser.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to