> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 13, 2002 12:27 AM > To: Tomcat Users List > Subject: Ref Http Session > > > > OK, thanks for your response. > > My main problem is now solved. I want just two little add-on : > > - Is it possible to force Tomcat to delete de SESSION.ser (or > all the work > dir) on shutdown ?
You can write a servlet, and in the destroy method of the servlet call the commands for removing the SESSION.ser. Or through java.io.File class delete the work dir. Have not tried it, you could give it a try. > - I f I understand the session, Tomcat try firts to work with > Cookie and > then if, cookie are deactivated, Tomcat use url rewriting. Yeah thats right. By default, session tracking uses cookies to associate a session identifier with a user. To also support users that access a servlet with a browser that does not support cookies, or that is set up to reject cookies, URL rewriting is used. >I > tried to see > the Cookie g�n�rated by tomcat on my brower (IE5.5) but i > can't. Is it a > memory cookie or is it in the file system (on win2k, c:/documents and > settings/$user$/Cookie ??) > > ------------------------------ > A++ > > St�phane > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
