This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Session timeout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Session timeout" Watch "Session timeout" New topic
Author

Session timeout

sajeev Jaladharan
Greenhorn

Joined: Mar 18, 2003
Posts: 7
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

Joined: Mar 22, 2000
Posts: 12761
    
    5
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session timeout
 
Similar Threads
How to create common database connection in a application
What Is the Best Way to Learn JSF Quickly?
weblogic server on linux.
JSP / JDBC - beginners question
How to upload the file into another server