• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how can I specify no session timeout

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic