Hi, On Nov 28, 2007 4:20 PM, Marcus <[EMAIL PROTECTED]>; wrote: > > On Nov 28, 2007 4:15 PM, Angelo Chen <[EMAIL PROTECTED]>; wrote: > > > > I have a few pages that has some @Persist objects, I'd like to release > all > > those objects when user log out the application so that the next login > user > > will not see those persisted objects that are supposed to be visible to > only > > the previous user, any way to handle this? Thanks, > > try @Persist("flash")
Flash persistence will help but not completely address the concern. Flash objects are only cleared from the session when they are read. If they're not read for some reason, they aren't cleared. I'd just use Session.invalidate() on logout. http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/src-html/org/apache/tapestry/services/Session.html#line.65 Mind you, the problem you mentioned will only apply if both users are on the same browser instance. cheers Anujith -- View this message in context: http://www.nabble.com/T5%3A-cleaning-up-persisted-objects-during-user-logout-tf4887697.html#a13993127 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]