Isn't it possible to code a PageStore that ... does not store pages?

Like DevNullPageStore ? :-)

*Bruno Borges*
www.brunoborges.com.br
+55 21 76727099



On Tue, Jun 28, 2011 at 6:31 AM, Martin Grigorov <mgrigo...@apache.org>wrote:

> Hi Harrie,
>
> In RC5.1 (the latest one) there is IStoreSettings
> (application.getStoreSettings()) which provides methods for
> configuring the functionalities provided by the page stores.
> But if you decrease the in memory store size then the page will be
> looked up from the disk so it will be found again.
> The in-memory (http session) storage is used as perf optimization for
> faster retrieval.
>
> Better make your page either stateless (all components should have
> #getStatelessHint() == false) or unversioned (#setVersioned(false)).
> This way the page wont be stored at all in the page stores.
>
> On Tue, Jun 28, 2011 at 12:15 PM, Harrie Hazewinkel
> <hhazewin...@iprofs.nl> wrote:
> > Hello,
> >
> >
> >
> > Ik would like to reduce the amount of pages maintained in the session to
> 1
> > in order to disable the back button. How can I set this in wicket 1.5RC2?
> >
> > With this I would like to avoid the possibility that after a logout, the
> user can come
> > back to the previous logged in page via the back button. I already search
> the
> > Internet archives, but found nothing useful (some hints seemed not for
> wicket 1.5RC2)
> >
> >
> > Any help appreciated,
> >
> >
> > Met hartelijke groet,
> > Harrie Hazewinkel
> > Software Architect
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to