Results 1 to 4 of 4

Thread: Webflow + BackButton

Hybrid View

  1. #1
    Join Date
    Oct 2012
    Posts
    2

    Default Webflow + BackButton

    Hello!

    In my Application i have some flow + subflows. We want the back-button from the browser to funktion normaly.

    So when i set max-execution-snapshots=-1 all seems to be fine. But what is the downside of this?
    Where are the snapshots stored?
    And when there are thousends of users, will i get a memory problem?

    Thx for the help!

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,632

    Default

    I suggest a read of the Spring Web Flow reference which explains where things are stored.

    In short snapshots/conversations are stored in the http session, setting it to -1 will not cleanup those objects (unless the flow ends). So will you run into memory problems, well probably, session state is kept in memory on the server, the more there is in there and the more users the more memory is consumed.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #3
    Join Date
    Oct 2012
    Posts
    2

    Default

    Quote Originally Posted by Marten Deinum View Post
    I suggest a read of the Spring Web Flow reference which explains where things are stored.

    In short snapshots/conversations are stored in the http session, setting it to -1 will not cleanup those objects (unless the flow ends). So will you run into memory problems, well probably, session state is kept in memory on the server, the more there is in there and the more users the more memory is consumed.
    Is there a solution if i want the back-button to function normaly?

  4. #4
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,632

    Default

    Define normal ... Why do you want user to be able to press back 50 times, see stale data or a flow that isn't active/valid anymore...
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Posting Permissions

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