Results 1 to 3 of 3

Thread: Global forwarding?

  1. #1

    Default Global forwarding?

    Hi all.

    Is there some way that, upon a certain criteria being met, that webflow will always forward to the same page?

    For example, a user goes through a series of forms to signup for an account. Once they have completed, you don't want them to be able to perform actions from the previous pages.

    So, once they complete, a flag is set. If they were then to use the back button and hit 'submit' on a previous page, webflow recognises the flag is set, and automatically forwards them back to the complete page, rather than processing the action.

    Is there an obvoius way this can be done?

    Thanks!

  2. #2

    Default

    Sorry to bump - but no ideas? I thought this would be quite a common problem...

  3. #3
    Join Date
    Nov 2006
    Location
    Germany
    Posts
    452

    Default

    Hi,

    actually you have to navigate the user into an end state. After reaching the partcular end-state the user can't go back, and submit the form for multiples times.

    The only disadvantage of this kind of invalidation is that the user will receive an stack trace while hitting the back button (because the conversaton had been invalidated while reacing the end-state).
    So you have to use some kind of exception handling which redirect the user to a particular page after a NoSuchConversatioException. (i.e. ExceptionHandler in Spring MVC)


    Note: SWF 2.0 will allow you invalidate the continuation once you have entered any view-state. So you will be able to mark a view-state as "NotBackAble", after that the user can't go back after reaching the particular state.
    This feature is scheduled for the third (and probably the last) milestone of SWF.

    rgds
    agim

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •