And then to be even more clear
when you do the code below that eelco has given you as an example
the back button wil NOT work anymore.

johan



On Nov 17, 2007 2:23 AM, Eelco Hillenius <[EMAIL PROTECTED]> wrote:

> > You could also explain some of the details of what should be returned by
> our
> > override of WebApplication.newSessionStore(). The javadoc for this
> method
> > reads "typically not something clients reimplement" so I assume we
> really
> > need to know what we're doing if we override this method.
>
> This in your application class is what I meant:
>
>        @Override
>        protected ISessionStore newSessionStore() {
>
>                return new SecondLevelCacheSessionStore(this, new
> IPageStore() {
>
>                        public boolean containsPage(String sessionId,
> String pageMapName,
> int pageId, int pageVersion) {
>                                return false;
>                        }
>
>                        public void destroy() {
>                        }
>
>                        public Page getPage(String sessionId, String
> pagemap, int id, int
> versionNumber, int ajaxVersionNumber) {
>                                return null;
>                        }
>
>                        public void pageAccessed(String sessionId, Page
> page) {
>                        }
>
>                        public void removePage(String sessionId, String
> pagemap, int id) {
>                        }
>
>                        public void storePage(String sessionId, Page page)
> {
>                        }
>
>                        public void unbind(String sessionId) {
>                        }
>                });
>        }
>
> Eelco
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to