This is the easiest way. There's also the push tools, but I haven't taken the time to get acquainted with them yet.
> -----Original Message----- > From: Quinton McCombs [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 9:53 AM > To: Turbine Users List > Subject: RE: How to save objects to a Turbine servlet session? > > > The data object below is an instance of RunData. The user object is > stored in the session and put into data for each request. TurbineUser > has getTemp() and setTemp() methods that allow you to store arbitrary > data inside the user object. > > User user = data.getUser(); > Date date = new Date(); > User.setTemp("foo", date); > > > > -------------------------------------------- > Quinton McCombs > NequalsOne - HealthCare marketing tools > mailto:[EMAIL PROTECTED] > http://www.NequalsOne.com > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, March 12, 2003 2:11 AM > > To: [EMAIL PROTECTED] > > Subject: How to save objects to a Turbine servlet session? > > > > > > Can someone explain to me by sample code on how to put and > > get objects in > > a Turbine servlet session? If I want to access $foo from > > all screens of > > a user session, how do I store "foo" once and pass it > > between requests > > later? > > In other words, if the life time of context and rundata is > > once per request, > > what > > is the Turbine's recommended way to pass objects from request > > to request? Thanks for the help in advance. -Joe > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
