well, yes and no ;-)
You can store object in sessions, but if you try to store a resultset, you
also need to keep the connection and statement. If you close the connection,
the resultset will be closed as well. It's possible, but I don't think it's
a good approach to keep the connection linked to one session.
You can create your own caching object that reads the whole resultset and
keep that in the session.
Geert 'Darling' Van Damme
Oh no, now I send a message during the weekend again. The out of the office
replies will be filling my mailbox ;-(
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Reeta Mittal
> Sent: zaterdag 4 december 1999 13:05
> To: [EMAIL PROTECTED]
> Subject: Session Variables
>
>
> Hello Everyone,
>
> My requirement is to store a recordset as a part of session
> variable. Can I
> do this ?
> Is there any concept of session variables in JSP just like we
> have in ASP ?
>
> Thanx and Regards,
> Reeta
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
>
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html