Thanks Mathew...




"Mathew, Binoy (CORP, GEITC)" <[EMAIL PROTECTED]> on 01/22/2001
06:53:41 AM

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,
Session variables are meant to store user profiles and data needed to
identify a user and his preferences, obviously if one fetches data from a
database and stores it in the session, this will not only clog up the
session variable but only defeat the very purpose of a database. Databases
are meant to be queried but ultimately it is a tradeof b/w (a) memory
required to store the data in the session and (b) connecting to the db
which
is time-consuming.
Hope this helps.
Binoy.

-----Original Message-----
From: Ritu Kamboj [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 22, 2001 12:02 PM
To: [EMAIL PROTECTED]
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

Reply via email to