What is the correct way to extend the session then?
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Krishnan
> Sent: Wednesday, July 05, 2000 1:24 PM
> To: [EMAIL PROTECTED]
> Subject: Re: session expired
>
>
> Hi,
>
> There are two options,
>
> one : In the begining set the session time out using the following method.
> session.setMaxInactiveInterval("specify the no of minutes") for
> session not
> to expire set "-1".
>
> two: Use session binding listener class which has two methods sessionBound
> and sessionUnbound. When the session expires, the sessionUnbound
> method will
> be called, there you can write code either to extend the session or what
> ever the action that you want to perform.
>
> Hope this might help u
> bye
> krish
>
> ----- Original Message -----
> From: Mauro Gagni (EMS) <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 05, 2000 4:57 PM
> Subject: session expired
>
>
> > Hi All,
> >
> > I am using tomcat to develop my JSP+benas application. I
> instanciate some
> > beans with scope session and I get this problem:
> >
> > After a while that I leave the browser inactive, the session information
> is
> > gone (I store some data in the session) but the beans are still there so
> > they do not get reinitialized as I would expect.
> >
> > Is this correct?
> >
> > Is there a way to free a bean once it has been allocated to a session?
> >
> > Thanks,
> > mauro
> >
> >
> ==================================================================
> =========
> > 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
>
===========================================================================
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