Friday, 15 May 2015

java - FlowScope get clear on page refresh -


Depending on the requirements of my application, I have to declare some variables for the login process (say, failed login attempts) .

Therefore,

context.getFlowScope (). Use ("count", ++ calculation);

is being resolved. But after refreshing the page, by using F5 or worse, in the case of ctrl + f5, the variables are reset and tied to the passage.

So, what should I request for continuous, request-bound properties for each one?

Please note that

org.springframework.webflow.execution.RequestContext

thank you for using in advance I am

Instead of counting variables in the session, keep the count variable. See the following example


No comments:

Post a Comment