You are aware that to an page expire, it has to be statefull, right? In a statefull page: getPage().getPageMap().clear() and the previous versions will to be removed from pagemap, then you got the page expired when try to back to then...
On Tue, Oct 27, 2009 at 4:05 PM, Tomás Rossi <tro...@mecon.gov.ar> wrote: > Nothing seems to work. > > Does the fact that the page I want to expire is the home page has anything > to do with it? > > Pedro Santos escribió: > > The page returned from back button came from pagemap. Make sure to remove >> it >> from there and you get the expired exception. >> >> On Tue, Oct 27, 2009 at 11:57 AM, Tomás Rossi <tro...@mecon.gov.ar> >> wrote: >> >> >> >>> Hi, I have another question... >>> >>> in Wicket (1.4.2), can I force the expiration of a page? >>> Specifically, if users hit browser's back-button, I'd like to show them >>> the >>> page-expired message. >>> >>> I've already tried to invalidate the session, but I got a horrible >>> exception when re-submitting the form after reaching it through the back >>> button. >>> >>> Thanks in advance, >>> -- >>> Tom; >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >>> >>> >> >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Pedro Henrique Oliveira dos Santos