-
Notifications
You must be signed in to change notification settings - Fork 243
Description
Doug Breaux opened SWF-1598 and commented
I apologize if this is a duplicate, but I didn't find one.
When the HttpSession has expired and the user re-submits a page in the flow, he/she is sent back to the beginning of the flow. All I need to add to this behavior is a message explaining why it occurred. "You were inactive, so you have been restarted..."
We've done various workarounds for this with a Filter or Interceptor, and even dug further into the FlowHandlerAdapter, but none of these solutions is as simple or robust as we'd like.
I have to think that anyone else using SWF would consider this an expected capability, thus my classifying it as a Bug rather than an Improvement. But I don't really care which if it can be addressed.
The simplest solution I envision is a default message key that can be overridden if necessary, that will cause text to be placed in a default variable on flow or flash scope to be used if a page wants to, and to be cleared automatically after this initial view after restart is displayed.
Affects: 2.3.0
Reference URL: http://forum.springsource.org/showthread.php?108833-Handling-expired-session-gracefully
1 votes, 3 watchers