mardi 17 mars 2015

FlowScope get clear on page refresh

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


hence, using



context.getFlowScope().put("count", ++count);



seems to be the solution. But after refreshing the page, using F5 or even in worse case ctrl+F5, the variables get reset and bind to null.


So, what should I do for having consistent,request-bind attributes for every single request.


note that I am forced to use



org.springframework.webflow.execution.RequestContext



thanks in advance.


Aucun commentaire:

Enregistrer un commentaire