Hi, I have a spring webflow (SWF) with - let's say 5 steps. A new user enters the webpage and completes the first 2 steps but then receives a phone call, thus leaving the computer for ~30 minutes. The problem is that the http-session has expired and only blank html is returned from the component if the user tries to continue. This is unfortunately a bi-effect of how magnolia integrates spring webflow.
What happens is that a new session is created by the application/spring but since an "executionKey" is supplied it tries to resume the execution. (see: org.springframework.webflow.executor.FlowExecutorImpl#resumeExecution). It eventually results in the org.springframework.webflow.execution.repository.NoSuchFlowExecutionException exception being thrown. This in turn results in the method org.springframework.webflow.mvc.servlet.FlowHandlerAdapter#handleFlowException being called. As you can see here it tries to call perform a redirect which is impossible in this stage because the response is already committed thus resulting in an empty result. What I am hopping to accomplish is to view a "your session has expired, please restart the webflow by pressing the button below" page. Have anyone here tried to do the same thing? Anyone have any suggestions? Best regards! Per Andersson -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=ebbba20b-6cfc-457c-9f8c-bd5f4c3ae86a ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
