• 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

problem setting session timeout value

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends,

Well i implemented a simple web app, and was trying to set the session-timeout to 30 minutes or whatever in web.xml in tomcat, but somehow the application gets 600 seconds as the value of session.getMaxInactiveInterval(). If i set by setMaxInactiveInterval(30) it takes 30 minutes, but otherwise it is always 600 seconds. Even if i change the value to something else in web.xml it does not matter!
If i know what are the possible places that session timeout property is set, i think i can resolve it. Please help me in this.

 
Ranch Hand
Posts: 83
Netbeans IDE MySQL Database Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you restarted tomcat after every reset in web.xml ? or what ever configure file you are using for setting the time
 
reply
    Bookmark Topic Watch Topic
  • New Topic