Hello Thiago, thanks very very much on your comment and advise. :)
Regards, Wesley Thiago H. de Paula Figueiredo wrote: > > Em Wed, 24 Sep 2008 23:28:35 -0300, wesley <[EMAIL PROTECTED]> > escreveu: > >> Hello Thiago, > > Hi! > >> first of all, thanks for the reply. on my logic for logout, since the >> user logs in; i store user object inside ASO. When the user hit logout, >> the >> method implementing this would be like > > I updated your code to reflect what I've suggested you: > > @Inject > private Session session; > > Object onActionFromLogoutPress(){ > session.invalidate(); > return LoginPage.class; > } > > You don't even need to nullify your ASO, because they are stored in the > session and the invalidate() method clears it. > >> based on you remark, invalidating the session alone can actually fix the >> back button problem? > > This problem and others related to old info stored in the session. > >> cause from what i read from the other forum, the back button is actually >> getting back the page from cache. any advise on this? > > It's completely browser-dependent (including the handling of caches and > Cache-Control headers), so don't rely on the browsers. Invalidate the > session and all the user can see is what he/she had already seen (from the > browser cache). > > Thiago > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://n2.nabble.com/T5-prevent-back-button-after-logout-tp1116964p1117061.html Sent from the Tapestry Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]