You can cheat and make your visit not serializable. That will cause an exception during the write to the file, and tomcat will abandon the effort for the session.
Richard -----Original Message----- From: Rob Dennett [mailto:[EMAIL PROTECTED] Sent: Thursday, September 22, 2005 12:32 PM To: Tapestry users Subject: Off topic:Tomcat saving session after shutdown I have an issue where Tomcat 5.5.9 is saving session info to a file when I shut it down. During development, I would like to prevent Tomcat from doing this or, failing that, have my applications home page invalidate all sessions. I found some code that is supposed to keep Tomcat from saving the session, but it when I tried it, I got a 404 error. %TOMCAT_HOME%\conf\Catalina\localhost\Survey.xml <Context docBase="C:/Documents and Settings/rob/workspace/Survey/context" path="/Survey"> <Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false" <Store className="org.apache.catalina.session.FileStore"/> </Manager> </Context> Any ideas? Thanks, Rob -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.1/104 - Release Date: 9/16/2005 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
