Re: Method getMaxIntervalTime() not found in interface javax.serv let.http.HttpSession

2000-11-09 Thread
Please respond to A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> Sent by: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: Subject: Re: Method getMaxInterv

Re: Method getMaxIntervalTime() not found in interface javax.serv let.http.HttpSession

2000-11-09 Thread Ortiz, William J
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] e -

Re: Method getMaxIntervalTime() not found in interface javax.serv let.http.HttpSession

2000-11-09 Thread Scott Evans
According to the javadocs you should be using: session.getMaxInactiveInterval() and session.setMaxInactiveInterval(int seconds) The javadocs are always the first place I look when I seek a method name, especially if I receive that exception. They are a great resource and benefit of Java that you

Re: Method getMaxIntervalTime() not found in interface javax.serv let.http.HttpSession

2000-11-09 Thread Lee Turner
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: 011