I'd like to create a little application that does not support any timeout whatsoever. I've already changed the web.xml file in the http-invoker.sar/WEB-INF directory to show a session-timeout value of -1. I've also changed the web.xml file in jbossweb-tomcat41.sar to show a session-timeout value of -1. (These specifics are for a jboss app server configuration, by the way).
My app will eventually throw me back a session timeout page, which makes me think that the app is still accepting requests from my page, but the page times out. Could a EJB be timing out somewhere? Servlet? Still the web server part?
Thoughts? What do I set to have the app never time out?
Thanks in advance.
posted 12 years ago
Sessions that never time out is not a good idea - your application will die because of OutOfMemory sooner or later. Why would you want to have it?