In my website I am ussing Spring Web Flow depend on an 'execution' request parameter in the URL? It's making our application rather brittle. SWF appends ?execution=(some flow execution key).
1) When user bookmark the above url and try to acesses later its going to 404 page because its not able to get execution key e2s2. Can someone guide me how to handle this for diffrent pages.
2) If user leaves the browser unused for 5 to 8 min its not able to get the flow execution key and goes to 404 page.
We're getting way too many exceptions along the lines of:
org.springframework.webflow.execution.repository.F lowExecutionRestorationFailureException: A problem occurred restoring the flow execution with key...
Can I either suppress the flow id completely or hide it via a hidden form field?
Because the is the entire WebFlow URL. You can also set things like WebFlow's timeout such that it will hold the flow for longer time.
The whole purpose of WebFlow is when you have multiple request responses in a use case, and Spring WebFlow will manage it so that the back button and multiple tabs don't cause havok, among other things. The way that it can do that is by some special key that Spring holds onto to manage it all, that is the execution key.