Announcement Announcement Module
No announcement yet.
Turning Off alwaysRedirectOnPause to avoid redirect Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Turning Off alwaysRedirectOnPause to avoid redirect


    As alwaysRedirectOnPause is turned on in Spring webflow, each request is result in extra redirection. Hence user facing performance issue. We would like to get rid off this extra redirect.

    As we know that turning off is going to alert the user for posting the same data again, we are planning to handle them using session variable. Whenever we receive the request from particular page, we will store page name in to session, provided if the session does not have the same page name. We are not worrying about the synchronization issue.

    For example site is for processing the order. When the user view the order in their review page & click pay button in the review page. The user be taken to 'Order confirmation page'. When user clicks refresh in the 'confirmation' page, the payment attempt will happen. Using session state maintaining mechanism, if we found that this is refresh request, how can we avoid the payment & taken the user to 'confirmation' page view.

    The question is after deducting that user has done the refresh, how can the user be taken to current view via code.