Hi there,

I have an application that doesn’t need back-button support and also has 
several domain objects that are not meant to be serialized. I thought it could 
be a good idea to implement an IPageStore that skips serialization and simply 
keeps the last n pages in memory (where n might be 5-10 e.g.). Does this sound 
like a reasonable plan or do you see any pitfalls with that approach?

What about ajax requests (I’m using a lot of them)? Let’s say n=5, i.e. I’m 
storing (only) the last 5 pages in memory, without serialization to disk. I 
start a page, pageId==1, then I’m doing 10 ajax requests on the page. Now when 
the user does a page reload, will he run into a PageExpiredException because 
the requested page with id=1 is not available any more in my pageStore?

Cheers,
   -Tom



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

Reply via email to