tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Richards <mjr...@yahoo.com>
Subject Re: Persistent session after browser restart, cookie expiration
Date Mon, 11 Sep 2006 19:29:57 GMT
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 <al-tomcatuser@none.at> 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:
> users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail:
> users-help@tomcat.apache.org
> 
> 


__________________________________________________
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message