A session is transient, and its lifetime ends when one of the following
occurs:
  - a user leaves your site and the user's browser does not accept cookies
  - a user quits the browser
  - the session is timed out due to inactivity
  - the session is completed and invalidated by the servlet
  - the user logs out and is invalidated by the servlet

Justy

----- Original Message -----

> Hi!
> I use a two beans
> <jsp:useBean id="search" class="ousranet.MetaSearch" scope="session">
> <jsp:setProperty name="search" property="*"/>
> </jsp:useBean>
> <jsp:useBean id="hit" class="ousranet.Hits"/>
> /* here i get the result and out it in hit */
> hit=search.getHits();
>
> i dislpay only some of the hit class! i got  a next button
> that is supposed to show the rest and so on till it's the end!
> the puspose is not to reinstantiaite the search bean cause it takes a lot
of
> time ! i thought of scope session !
> but when i run the first page, then disconnet from the web, to make sure
it
> won't reinstantiate (in the construct it connect toa url), it gives me no
> result , however when i connect, it takes as much time as in the first
page,
> then display results! wich means it does not use the last instatiation!
>
> pleaaaaaaaaaaaaase help
>
>
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> 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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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