I did check the session time out tag, it is: <session-config> <session-timeout>3600</session-timeout> </session-config>
But inspite of this, error comes from my logout.java: if ((request.getSession() == null) || (request.getSession().getAttribute("userType") == null)) { System.out.print("!!!! userType SESSION ATTRIBUTE IS NULL in LOGOUT Action !!!"); On 5/17/07, Nuwan Chandrasoma <[EMAIL PROTECTED]> wrote:
Hi, look at you web.xml, you may have specified session time out time as 2 mins. <session-config> <session-timeout>30</session-timeout> </session-config> if you set this as 30, the session will time out after 30 min of idle time, Thanks Nuwan ----- Original Message ----- From: "vikas rao" <[EMAIL PROTECTED]> To: <user@struts.apache.org> Sent: Thursday, May 17, 2007 4:47 AM Subject: Session Expires too early! Help! > Hi, > I am working on a bug in my application, the problem is, the session > expires > every 2 minutes or so and I have to log back in to continue, this is very > frustrating. How do I go about debugging this? Which areas of the code do > you guys think would be best to check for errors? > Any inputs would be very appreciated. > Thanks. > Vikas. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]