I think you should use session.getLastAccessedTime() or
session.getLastInactiveInterval(); I don't see a getMaxIntervalTime() in the
API documents (JSDK 2.1)
William J Ortiz
EDS E.Solutions/BlueSphere
XEEP Buyout
Phone: (716) 427-6892
e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
e
-----Original Message-----
From: <John Thomas> [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 09, 2000 9:55 AM
To: [EMAIL PROTECTED]
Subject: Method getMaxIntervalTime() not found in interface
javax.servlet.http.HttpSession
Hi,
This is the error i am getting for the code in jsp file. the
problem is to set or view max interval time for sessions.
<HTML>
<HEAD>
<TITLE>
User Name
</TITLE>
</HEAD>
<BODY BACKGROUND="images/Backgrnd.gif">
<% out.println(session.getMaxIntervalTime()); %>
</body
</head>
The error msg is
<<<Method getMaxIntervalTime() not found in interface
javax.servlet.http.HttpSession.
out.println(session.getMaxIntervalTime()); >>>
Pls help.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets