2 Replies Latest reply on Jan 25, 2005 4:26 PM by Matt Corey

    HttpSession times out even when it should be active

    Matt Corey Newbie

      I am having a problem with my HttpSessions occasionally timing out when, in fact, there is normal activity. I have a web app that is keeps a small amount of login information about a user in the HttpSession when they login. The client is a C-based fat client, which sends a 'touch' message every 30 minutes so that the HttpSession doesn't time out, and I have configured the sessions to be resident for 45 minutes before they do time out.

      What is happening is that I'm getting a user login (say, at 9:00 AM)... 30 minutes later, I am receiving a 'touch' message that does find the HttpSession properly, pulls an attribute out of the session, changes it, and reinserts it into the HttpSession... 15 minutes later, my session times out...

      This works perfectly on my development box (Windows, single machine), but doesn't appear to be working in our production environment (Linux, cluster of 6 machines. jbossweb cluster configured as interval, of 2000 ms, with UseLocalCache set to false)...

      Any ideas?