Are you sure you don't mean getMaxInactiveInterval() as getMaxIntervalTime()
does not exist in HTTPSession as the error suggests.

Lee
_________________________________

Lee Turner
Systems Developer
_________________________________

Watt Gilchrist Ltd
Ring Road, West Park
Leeds, LS16 6RA
Tel: 0113 288 3200
Fax: 0113 275 1690
http://www.wattgilchrist.co.uk
_________________________________

> -----Original Message-----
> From: <John Thomas> [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, November 09, 2000 2:55 PM
> 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

Reply via email to