In some containers, the session is timeout is managed by the container..you might want to look into that.. For example, we run Websphere, and it is set to time out after 30min, even though we were sitting the seesion to timeout after 60min, it was being overwritten by the Container...
hope this helps Khalid ----- Original Message ----- From: "Mohan Radhakrishnan" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, February 25, 2003 5:08 AM Subject: RE: Session timeout problem > Hi, > > I also have the following in web.xml > > <init-param> > <param-name>nocache</param-name> > <param-value>true</param-value> > > </init-param> > <session-config> > <session-timeout>15</session-timeout> > </session-config> > Thanks, > Mohan > > -----Original Message----- > From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 25, 2003 5:07 PM > To: 'Struts Users Mailing List' > Subject: Session timeout problem > > > Hi, > Our struts application ( I am not sure if it is the session > )occasionally timesout and throws us back to the login page. > > <session-config> > <session-timeout>15</session-timeout> > </session-config> > > This is not uniform. > > Whenever I login I use code like this > > protected void inValidateSession( HttpServletRequest request ){ > HttpSession session = request.getSession( false ); --> Is this > right? > if( session != null ){ > session.invalidate(); > } > } > > Does any of you see any problem here ? > > Mohan > > --------------------------------------------------------------------- > 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] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]