Could be wrong, but it doesn't sound like you really want to use sessions for this usage because session attributes are stored in memory in Tomcat (unless you're using a backup manager). In time, you will have many sessions and cap your physical memory. It sounds like you just need to use a regular old cookie instead.
-marc --- Alexander Lazic <[EMAIL PROTECTED]> wrote: > Hi, > > On Son 10.09.2006 14:27, Heiko Klein wrote: > > > >The default tomcat cookies for session-management > seem to be deleted > >with browser-restart. How can I keep a session open > even if the user > >restarts his computer? Or in other words, how can I > set the 'Expires' > >field of the session-cookie send to the browser? > > Could it be in conf/web.xml the session-config > setting, or in the > app-dir/WEB-INF/web.xml?! > > Regards > > Alex > > --------------------------------------------------------------------- > To start a new topic, e-mail: > users@tomcat.apache.org > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]