Re: How to retrieve persisted session

2010-07-20 Thread Ashish Kulkarni
Hi Where do i set this max age for session? i dont see any thing in document http://tomcat.apache.org/tomcat-6.0-doc/config/manager.html Ashish On Mon, Jul 19, 2010 at 6:03 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashish,

Re: How to retrieve persisted session

2010-07-20 Thread Pid
On 20/07/2010 14:58, Ashish Kulkarni wrote: Hi Where do i set this max age for session? i dont see any thing in document http://tomcat.apache.org/tomcat-6.0-doc/config/manager.html Have you manually set the session expiry time or are you using the default? p Ashish On Mon, Jul 19, 2010

Re: How to retrieve persisted session

2010-07-20 Thread Ashish Kulkarni
Hi I am using the default, how do i set session expiry time, i can think of only 1 place that is in web.xml session-config session-timeout-1/session-timeout /session-config Is there any other way On Tue, Jul 20, 2010 at 10:25 AM, Pid p...@pidster.com wrote: On 20/07/2010 14:58, Ashish

Re: How to retrieve persisted session

2010-07-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashish, On 7/20/2010 9:58 AM, Ashish Kulkarni wrote: Where do i set this max age for session? i dont see any thing in document http://tomcat.apache.org/tomcat-6.0-doc/config/manager.html You will have to write code to do this yourself: Tomcat

How to retrieve persisted session

2010-07-19 Thread Ashish Kulkarni
Hi I have configured my tomcat to save session in database as per documentation, and it works as expected i can see the session is saved in database, Now if the user closes the browser, and then reopens i dont want to show the login screen but get the session from database and go to the last

Re: How to retrieve persisted session

2010-07-19 Thread Mark Thomas
On 19/07/2010 20:48, Ashish Kulkarni wrote: Hi I have configured my tomcat to save session in database as per documentation, and it works as expected i can see the session is saved in database, Now if the user closes the browser, and then reopens i dont want to show the login screen but get

Re: How to retrieve persisted session

2010-07-19 Thread Ashish Kulkarni
Hi Is there a way i can save this session cookie, so i can access it later? is it possible How does yahoo or gmail keep me signed on for 2-3 days Ashish On Mon, Jul 19, 2010 at 4:43 PM, Mark Thomas ma...@apache.org wrote: On 19/07/2010 20:48, Ashish Kulkarni wrote: Hi I have configured my

Re: How to retrieve persisted session

2010-07-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashish, On 7/19/2010 4:48 PM, Ashish Kulkarni wrote: Is there a way i can save this session cookie, so i can access it later? is it possible Set the maxAge of the session to something other than -1 (the default, which means this cookie will die