Re: retrieve session data stored in db using JDBCStore.

2009-04-15 Thread jerrySheen
So u mean to say, that if I were to prolong the JSESSIONID cookie's expiry time, the server would take care of repopulating the session state(stored in the db) even after a browser restart? Well, this seems like a much simpler solution,ill give it a try, hope it works. Thanks, JS -- View this

Re: retrieve session data stored in db using JDBCStore.

2009-04-14 Thread jerrySheen
can someone please reply to the above post.:-(( -- View this message in context: http://www.nabble.com/retrieve-session-data-stored-in-db-using-JDBCStore.-tp23020556p23052044.html Sent from the Tomcat - User mailing list archive at Nabble.com.

retrieve session data stored in db using JDBCStore.

2009-04-13 Thread jerrySheen
Hi, I have been successful in saving the sessions to my mysql db, using the given code in my server configuration file. Store className=org.apache.catalina.session.JDBCStore connectionURL=jdbc:mysql://X/xx?user=zamp;password=zz

Re: retrieve session data stored in db using JDBCStore.

2009-04-13 Thread jerrySheen
Why? The risk is that you will introduce inconsistencies into live sessions. Surely modifying the session using the API provided by the Servlet spec is a) safer and b) easier. As we are dealing with sessions that are no more accessable, this action would have no effect on any live sessions thus