I am working on a CAS server, and it is very important that if we have more than three failed login attempts , Then the fourth time should be captcha, to complete this process, I used
context.getFlowScope (). ("Count", counting);
In which, the counting variable calculates the number of unsuccessful attempts, it works fine with Google Chrome, but after the second attempt with Mozilla Firefox, surprisingly the count variable is zero. goes.
Instead of counting variables in the session, keep the count variable. See the following example
No comments:
Post a Comment