Jigar --
Most of the servlet engines "recommend" putting only serializable objects
into the sessions. This is make sure that if the engine needs to swap the
session data onto the disk it should be able to do that.
Obviously, ResultSet then cannot be put in the session.
Without the concern of swapping can you put ? I dont see why not - but I may
be wrong ;-)
Shashank
>From: "Jigar S. Shah [I]" <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Regarding Session
>Date: Fri, 13 Aug 1999 17:03:10 -0500
>MIME-Version: 1.0
>From [EMAIL PROTECTED] Fri Aug 13 15:25:44 1999
>Received: from [204.160.241.28] by hotmail.com (2.1) with ESMTP id
>MHotMailB97DE5B401E5D820F39BCCA0F11CF44B0; Fri Aug 13 15:25:44 1999
>Received: from mail (mail.java.sun.com [204.160.241.28])by
>mail.java.sun.com (8.9.3+Sun/8.9.3) with ESMTP id PAA03885;Fri, 13 Aug 1999
>15:09:51 -0700 (PDT)
>Received: from JAVA.SUN.COM by JAVA.SUN.COM (LISTSERV-TCP/IP release 1.8d)
>with spool id 193923 for [EMAIL PROTECTED]; Fri, 13
>Aug 1999 15:06:47 -0700
>Received: from motgate.mot.com (motgate.mot.com [129.188.136.100]) by
> mail.java.sun.com (8.9.3+Sun/8.9.3) with ESMTP id PAA03390 for
><[EMAIL PROTECTED]>; Fri, 13 Aug 1999 15:06:45 -0700 (PDT)
>Received: [from pobox.mot.com (pobox.mot.com [129.188.137.100]) by
>motgate.mot.com (MOT-motgate 1.0) with ESMTP id RAA02224 for
><[EMAIL PROTECTED]>; Fri, 13 Aug 1999 17:06:25 -0500
>(CDT)]
>Received: [from relay1.cig.mot.com (relay1.cig.mot.com [136.182.15.23]) by
> pobox.mot.com (MOT-pobox 2.0) with ESMTP id RAA24444 for
><[EMAIL PROTECTED]>; Fri, 13 Aug 1999 17:06:25 -0500
>(CDT)]
>Received: from triad.cig.mot.com (triad [160.15.1.33]) by
>relay1.cig.mot.com (8.8.8+Sun/SCERG-RELAY-1.11b) with ESMTP id
>RAA12430 for <[EMAIL PROTECTED]>; Fri, 13 Aug 1999
>17:03:10 -0500 (CDT)
>Received: from localhost (shahjs@localhost) by triad.cig.mot.com (8.7.5
> Motorola CIG/ITS v1.1 (Solaris 2.5)) with ESMTP id RAA11522 for
> <[EMAIL PROTECTED]>; Fri, 13 Aug 1999 17:03:10 -0500 (CDT)
>X-Sender: shahjs@triad
>Message-ID: <[EMAIL PROTECTED]>
>Sender: "A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology." <[EMAIL PROTECTED]>
>
>Hi
>I have a query regarding sessions
>
>Can I store a resultset object retrieved from a database as a session
>object and then retrieve it back
>
>Thanks
>JIgar
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html