Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how can I specify no session timeout  RSS feed

 
Aaron Ehrensberger
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.

Aaron
 
Slava Imeshev
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!