hi angus,
sorry to bother you again, but when i am storing the values in the
database, do i have to do it as i add them to the session object, or can
i have the user press a button which will call a jsp page or function
that will extract everything that's in the session object at that time
and insert it all into the database at once?

similarly, when they start up their session again, do i load all the
values back into the session object at the start of the resumed session,
or do i wait until the user asks to see all of the results and then
extract the values one by one?

sorry for all this trouble i am giving you.

maurice


Angus Mezick wrote:
>
> Maurice,
> Either copy the information into some form of flatfile storage (if you user
> group is REALLY small (<20) or use a DB to save off this information.
> MySql and Postgresql are both free implementations of DB's that have JDBC
> API's.
> --Angus
>
> maurice coyle wrote:
> >
> > Hi everybody (hi doctor nick),
> >
> > (short version of question):
> > Does anyone know of a way to save what is in the session object, so you
> > can resume a session at a later date?
> >
> > (long version of question):
> > I am currently developing an application in JSP which uses the session
> > object quite heavily.  The application is a testing resource, where
> > developers can use it to test an application to see if it is
> > internationalized correctly.  The only thing is, I don't expect any user
> > to complete all of the tests in one go, so I am going to need a way for
> > them to save what they have done so far and then come back to it later
> > on.  Is there some way of saving what's in the session object and then
> > just resuming the session at a later date?
> >
> > thanks for any replies,
> > maurice.
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> 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

--
Maurice Coyle,
Sun Microsystems Ireland.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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