Form code expiring each day – need to refresh website cache
We have a problem that didn't occur before: each new day, the form is not loading because "form code expired". We have to refresh the website's cache (CometCache) to get the form to load again.
Is there a way to fix the issue for good?
PS - we have been using Comet Cache for a long time and EasyAppointments was fine before.
3 Answers
Hi,
looks like that case store nonce so it will be wrong when user submit it. I can add it as option to use Nonce or not?
Here is a workaround (why we didn't think about it before??! ;-): excluding the form page's URL in CometCache prevents the problem from occurring.
It's a good workaround until the option to use Nonce or not is embedded in a new update of the plugin.
Hi, nonce is preventing from making unwanted request to backend of plugin. For example if someone wants to make spam calls etc. 🙂 But in this case caching makes the problem.
Best regards,
Nikola
Please login or Register to submit your answer