Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session timeout

 
sajeev Jaladharan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai all
I am currently using appache web server for running my JSP applications.I want to keep track sessions in my application.So i used 'session.setMaxInactiveInterval(3600)' method for extending the expiring time to one hour.but on compilation of the jsp page an error occurs 'No such methods',the same happened when i used 'session.setAttribute()' but i corrected it by using sessin.getValue().where could have went wrong.
with regards sajeev
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13062
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you can use getValue but not getAttribute, and setMaxInactiveInterval is not there it means you have an old version of the servlet API installed.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic