|
|
Flow Timeout Implemenation Design Question
Hi all!
For a new Spring Webflow application, I have the requirement to implement a timeout... After a period of time (5 min), I need to ask the user whether he wants to continue or not and if he doesn't react within the next 2 minutes, I'd need to end the flow (and preferrably do this in an action since I want to log tracing information when this happens!)
I could of course implement in client side with a Javascript timer and submit the form after a pre-defined period of time.
I was wondering if there was anything I could use in the Webflow infrastructure to implement this functionality in a more elegant way (e.g. AJAX to see the flow uptime?, or even something easier than that...)
What would be the best solution?
Thanks a lot in advance!
Nicolas
I fixed the problem with some Javascript and global-transitions...
Some more information on how I solved it is posted here: showthread.php?t=29647 |
|