Oct 16th, 2012, 09:23 AM
Webflow + BackButton
In my Application i have some flow + subflows. We want the back-button from the browser to funktion normaly.
So when i set max-execution-snapshots=-1 all seems to be fine. But what is the downside of this?
Where are the snapshots stored?
And when there are thousends of users, will i get a memory problem?
Thx for the help!
Oct 17th, 2012, 01:05 AM
I suggest a read of the Spring Web Flow reference which explains where things are stored.
In short snapshots/conversations are stored in the http session, setting it to -1 will not cleanup those objects (unless the flow ends). So will you run into memory problems, well probably, session state is kept in memory on the server, the more there is in there and the more users the more memory is consumed.
Oct 17th, 2012, 06:59 AM
Is there a solution if i want the back-button to function normaly?
Originally Posted by Marten Deinum
Oct 17th, 2012, 07:05 AM
Define normal ... Why do you want user to be able to press back 50 times, see stale data or a flow that isn't active/valid anymore...