When you say "so they can retrieve the data later", define later. If later is a few page requests, then the session object would be fine. If later is a different browser session, sessions are not really a viable option. You could use cookies in that case.
However, I think the architecture of you application should be revisited. Please see: http://java.sun.com/blueprints/corej2eepatterns/Patterns/index.html
--
Darian Shimy
> -----Original Message-----
> From: Tom K [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 27, 2003 2:46 PM
> To: [EMAIL PROTECTED]
> Subject: Need help with storing result set
>
>
> I have a servlet that retrieves result set data, and displays the data
> in html format. I would like for the users to be able to
> "check mark" a
> check box in the displayed html so they can retrieve the data later
> (based on the primary key field). Do I store it in a session, a
> cookie???????
>
> I would only be storing at a maximum 15 key values which are 11 digits
> (long).
>
>
> Thanks,
>
> TK
>
> ______________________________________________________________
> _____________
> 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
>
