Re: how to control lifetime of JSessionID cookie in Tomcat 5.5

2006-04-04 Thread Leon Rosenberg
I think you mixing things up. The http session isn't designed to run forever. The session ends as soon as the user closes his browser. If you want to have some kind of direct login, you should just set your own cookie, evaluate this cookie in your first servlet/jsp/action or filter and login the

Re: how to control lifetime of JSessionID cookie in Tomcat 5.5

2006-04-04 Thread Filip Hanik - Dev Lists
that is correct, yahoo for example will not store anything on the server, they just store a cookie on the client. Filip Leon Rosenberg wrote: I think you mixing things up. The http session isn't designed to run forever. The session ends as soon as the user closes his browser. If you want to

how to control lifetime of JSessionID cookie in Tomcat 5.5

2006-04-03 Thread Andrew E. Davidson
Hi I am trying to figure out how to set up my application so that users are only forced to log on every couple of day. Sort of like my.yahoo.com. If you click remember my id you can close/restart you browser and not have to log back in again. Here is part of my web.xml file