Just an idea.
Can you stick it in a little table in a DB that'd be fast to access ?
You'd delete it after the session is closed or expired.
Jf
Ritu Kamboj
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
> cc:
Sent by: A Subject: Re: Session Variable
mailing list
about Java Server
Pages
specification and
reference
<JSP-INTEREST@jav
a.sun.com>
01/22/01 11:09 PM
Please respond to
A mailing list
about Java Server
Pages
specification and
reference
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