Thanks. That makes sense, now that I bother to think about it. I was living in a dream world where I thought the data lasted forever. I found this in the Eclipse Tomcat web.xml
<!-- ==================== Default Session Configuration ================= --> <!-- You can set the default session timeout (in minutes) for all newly --> <!-- created sessions by modifying the value below. --> <session-config> <session-timeout>30</session-timeout> </session-config> On Fri, Oct 31, 2014 at 2:19 PM, Mike McNally <emmecin...@gmail.com> wrote: > Sessions expire. The timing of that is generally a configuration > option of the servlet engine you're using (Tomcat). > > > On Fri, Oct 31, 2014 at 4:16 PM, Rusty Wright <rusty.wri...@gmail.com> > wrote: > > Newbie question: If I put something in the session using my > > ActionBeanContext subclass, for how long is that data available? I'm > > finding that with Tomcat, running in/under Eclipse, it goes away after an > > hour or so (not sure how long it is, but not very long). > > > > E.g., I'm using > > > > public void setUserProfile(UserProfile userProfile) { > > getRequest().getSession().setAttribute("user_profile", userProfile); > > } > > > > Thanks > > > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > Stripes-users mailing list > > Stripes-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/stripes-users > > > > > > -- > Turtle, turtle, on the ground, > Pink and shiny, turn around. > > > ------------------------------------------------------------------------------ > _______________________________________________ > Stripes-users mailing list > Stripes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/stripes-users >
------------------------------------------------------------------------------
_______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users