We are looking to implement a message with the number of login attempts left on the login.fcc page by using smretries & SMTRYNO cookie. The message is being displayed fine when the user is in the same browser but the SMTRYNO value is being reset when they close and reopen the browser again, or switch to a different browser, which causes to show the wrong message. How can we get the remaining login attempts message properly?
Note that smretries and SMTRYNO is like a counter browser-based, which purpose is to limit the amount of authentication attempts that can be done on the browser. Then, the SMTRYNO cookie is set in the browser headers, so when you switch or reopen the browser the count is not taken into account anymore, as the cookie does not exist in the new browser opened. This is as per design: https://docops.ca.com/ca-single-sign-on/12-52-sp1/en/configuring/policy-server-configuration/authentication-schemes/configure-html-forms-authentication
Therefore to achieve this you many need to implement custom code or find another way to show the remaining attempts properly, as we at Support cannot provide any kind of code that is not available in the product documentation. However you could contact CA Services team if needed for guidance and assistance on this implementation.