Form Nonce / Token Issues
-
Hey guys,
I need some help 🙂We keep running into the same issue with form plugins, page-caching (both dynamic, and basic) will contain an expired nonce and the form will not submit.
Some of our websites have a form on every page, so we can’t use the exception (do not cache specific pages).
I have also tried creating a CRON job which triggers a page-flush every 10 hours (shorter than the nonce-lifespan). Using this snippet:
$w3_plugin_totalcache = new W3TC\Generic_AdminActions_Flush; $w3_plugin_totalcache->w3tc_flush_pgcache();
It doesn’t seem to work… Is there a global “Cache Lifetime” setting so I don’t have to use a CRON job? Or is there a way to Auto-Flush the cache after a specific time without CRON?
Appreciate your help!
Cheers,
C.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Form Nonce / Token Issues’ is closed to new replies.