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
<[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to