It's a tradeoff (you saw that coming). HttpSessionStore uses more memory and has limited (configurable) backbutton support, but is more efficient in calculating state changes and does not require second level cache to start with. SLCSS theoretically has unlimited back button support and is much more efficient with RAM, but serializes more (whole page on every request) and by default uses disk to store older versions. After doing lots of testing (and optimizing) we found the serialization and disk access penalty was well worth the decreased memory usage, which is why SLCSS is the default now.
Eelco On 6/21/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > yes then SLC isn't used, you use the same thing as you did with 1.2 > session size is increased then because more page/pageversions are in memory. > > johan > > > > On 6/21/07, Ivo van Dongen <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Thanks for the quick reply. That would mean that the second level cache > isn't used any more right? Does this lead to a great increase in session > size or are there other disadvantages? > > > > Regards, > > Ivo > > > > > > > > On 6/20/07, Eelco Hillenius <[EMAIL PROTECTED] > wrote: > > > On 6/20/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > > you either have to pass a reference, keep a reference to last page in > > > > session, or not use the second level page store. > > > > > > If you put: > > > > > > protected ISessionStore newSessionStore() { > > > return new HttpSessionStore(this); > > > } > > > > > > in your application object, Wicket will use that session store instead > > > of the default. HttpSessionStore is the same store as was the default > > > in 1.2. > > > > > > Eelco > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > Wicket-user mailing list > > > Wicket-user@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > -- > > Ivo van Dongen > > Func. Internet Integration > > W http://www.func.nl > > T +31 20 4230000 > > F +31 20 4223500 > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user