Method setMaxInactiveInterval(int) not found in interface javax.servlet.htt
Method setMaxInactiveInterval(int) not found in interface javax.servlet.http.HttpSession. session.setMaxInactiveInterval(2400); I am trying to expire a session attribute after 40 minutes using this:session.putValue("UID", uid);session.setMaxInactiveInterval(2400);
[299 byte] By [
adamrau] at [2007-9-26 3:44:14]

Nope, I'm afraid the API just doesn't support it. If your container allows you to set timeout, then you can globally configure session timeout for your applications, but if you're using something like JServ, you will not be able to set the timeout programatically.
(If you are using JServ, change! Tomcat will serve you well.)
cafal at 2007-6-29 12:23:46 >
