> From: ben short [mailto:[EMAIL PROTECTED] > Subject: Notification of expiring sessions > > I want to store user session data into a database rather than in the > session, to conserve memory.
Unless your session data is huge, you're probably consuming more memory by accessing the data base rather than keeping it simple. There are a lot of objects that have to be created and maintained for every DB connection, statement, result set, etc. Also, your original session data object(s) will remain in the heap until garbage collection runs, so are you really conserving memory? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]