You could create your own session manager to do this. Check out the files in C:\ApacheGroup\Tomcat4.1\src\catalina\src\share\org\apache\catalina\sess ion The findSession method in PersistantSessionManagerBase should help you get started. --Angus > -----Original Message----- > From: Simha, Kailas [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 01, 2003 5:01 PM > To: 'Tomcat Users List' > Subject: RE: Retrieving session by the ID > > > Tim, > Thanks. I should have clarified this earlier. But here is the exact > scenario: > 1. The session is created by JVM1, which crashes later. The session is > stored in the DB every 30 secs from the memory by a background thread. > 2. The load balancer sends the next client request to another > JVM in the > same pool. > 3. This jvm has to retreive the session from the db and serve > it to the > client. > 4. All will be seamless to the client. > Any ideas? > Thanks, > Kailas > > -----Original Message----- > From: Tim Funk [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 01, 2003 4:51 PM > To: Tomcat Users List > Subject: Re: Retrieving session by the ID > > > > You can get your sessionid by looking at the methods contained in the > HttpServletRequest class. > > -Tim > > Simha, Kailas wrote: > > How can I load the session, retrieving it from a db upon > request by the > > client? > > Thanks, > > Kailas > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -------------------------------------------------------------- > ---------------- > Notice: This e-mail message, together with any attachments, contains > information of Merck & Co., Inc. (Whitehouse Station, New Jersey, > USA) that may be confidential, proprietary copyrighted and/or legally > privileged, and is intended solely for the use of the > individual or entity > named on this message. If you are not the intended recipient, and > have received this message in error, please immediately > return this by > e-mail and then delete it. > -------------------------------------------------------------- > ---------------- > > --------------------------------------------------------------------- > 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]
