Well this may not be the correct solution but u can try this
Populate all the values in a client side array and u can do all the required
operation on that array.
By using array u will not be using session and also u will get all the data
first time so by the network traffic is reduced.
Hope this will help in some way.
Cheers
Srinivas
----- Original Message -----
From: Ritu Kamboj <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 23, 2001 10:39 AM
Subject: Re: Session Variable
> Thanks , Srinivas
> The information u have given is very useful .But again i need to ask is
> there any other way out
> to get rid off this problem??.Since we cann't store lot of information in
> the session variable but sometimes
> requirement is like that we have to track these info in the session
> variable..
> Any suggestion??
> Thanks..
> regards
> ritu
>
>
>
>
>
>
>
> "Srinivas K. R." <[EMAIL PROTECTED]> on 01/22/2001 07:23:26 PM
>
> Please respond to A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>
> To: [EMAIL PROTECTED]
> cc: (bcc: Kamboj Ritu-SWD-ITIL-UB/Itilmail)
>
> Subject: Re: Session Variable
>
>
>
>
> 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
>
>
===========================================================================
> 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