webapps arent really designed to do this, you will have to write the appropriate hooks for your servlet container. eg your own sessionmanager for tomcat, etc.
-igor On 9/10/07, Zsolt Süli <[EMAIL PROTECTED]> wrote: > > Yeah, but I want to change dynamically. Say Joe wants to stay logged in, > so he set the STAY LOGGED IN checkbox on, but Lilly doesn't like these > things, so she just let it go, and the checkbox stays off. So web.xml is > a good solution, and thanks for that. My mistake, I wasn't too precise > at my last letter. Maybe the more accurate question sounds like this: > how can I change the sessions expiration time during runtime? > > ZsZso > > Igor Vaynberg wrote: > > in web.xml > > > > -igor > > > > > > On 9/10/07, Zsolt Süli <[EMAIL PROTECTED]> wrote: > > > >> Hi! > >> > >> I'd like to write a signIn page, that let me STAY LOGGED IN (/always > >> signed in/etc.). This way the session won't be closed when I close the > >> browser. The only way to invalidate the session is to log out (or many > >> days have to pass). I think I should use session cookies, and I should > >> set the expiration time somehow. And that's the question ... how? > >> > >> Thx in advance, > >> ZsZso > >> > >> > >> --------------------------------------------------------------------- > >> 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] > >
