look into the PersistanceManager, that will store the session in a DB for you

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/manager.html

Filip

----- Original Message ----- 
From: "Xavier MOGHRABI" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, May 25, 2004 10:29 AM
Subject: How does Tomcat manage sesssions ?


Hello,

I'm instested to know how does Tomcat manage user sessions. I'd like to 
build a robust application that can survive after server's crashes. 
Thereby, I'd like that the application is able to recover the session to 
allow users to go on their work where they were.

I've searched information on tomcat's website and I've read that in 
using clustering features it would be possible to share sessions with 
differents Tomcat instances by storing them in a shared storage such as 
DBMS or XML file.

Thus, I thought my application could save sessions in a DBMS to recover 
them after crashes or network failure. However I don't know how to do 
this. Does somebody could bring me more documentation or tell me more 
about it.
I would like to know :
- how should I configure Tomcat for doing that ?
- how tomcat save sessions and what does it do of objets linked to the 
session ?
- how can I recover sessions and get it back to the right user?

Thanks for your help.

Xavier


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to