Only the active statefull page is in session. So if you go to the next page
then the previous page is gone from the session (and written to the disk for
back button support)

johan



On Nov 15, 2007 11:42 PM, saenz <[EMAIL PROTECTED]> wrote:

>
>
> Johan Compagner wrote:
> >
> > The DiskStore is for the backbutton and the PageMap (thats in the
> session)
> > is for the current page. And as long as that page is statefull you have
> to
> > store it in the session.
> >
>
> What is the lifetime of a Page object stored in the session?
>
> Does Wicket manage the lifecycle of a Page instance automatically using
> some
> sort of "garbage collection" mechanism to free the Page instance from the
> session state at some point? For example, are Page instances always bound
> to
> a single request, and freed when the request is completed?
>
> Or is it the responsibility of the application to free old Page instances
> from session state when navigating to different Pages? (It doesn't seem
> like
> this is the case, but I wanted to ask the question anyway.)
>
>    - Lu
> --
> View this message in context:
> http://www.nabble.com/Disabling-serialization-storage-of-pages-in-session--tf4768006.html#a13783508
>  Sent from the Wicket - User mailing list archive at 
> Nabble.com<http://nabble.com/>
> .
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to