Hi
Ritu
When we say Session it means all the information you are storing will be on
server and on the client side you will have the ID of that session.
if u try storing every thing in session then the performance will come down
and server will run out of memory.This may some time crash the server if
number of users are more..So better change the design of the report so that
u will get more information on querying for the first time, instead of
moving backward or forward.
Hope this will help u.
Cheers
Srinivas
----- Original Message -----
From: Ritu Kamboj <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 22, 2001 12:01 PM
Subject: Session Variable
> Hi All,
>
> Can anybody suggest what all difference does it make fetch data once
from
> the database
> and store it in the session variable, rather fetching every time from
the
> database.
> for example in case of any report showing data in the form of Previous
> and next.
> is it better once fetch all data and store them into session variable or
> fire a query for
> fetching data on every click of previous and next.
> Thanks
> Regards
> ritu
>
>
> _____________________________________________________________
>
> Visit http://www.PalmGreetings.com The Most Happening and
> The first & only Mobile greeting site.
> * Send & Receive e-cards using your Hand held/Palm top/WAP Phone
> * Pleasure viewing animated cards on your device
> * Unleash your creativity by creating your own cards
>
>
===========================================================================
> 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