admin管理员组

文章数量:1405139

I have using ajax requests in my website to verify data provided by user. Already I'm using wp-nonce with minimized lifetime. But unlimited requested are triggered on that ajax action so help me to limit the ajax requests or fix this issue.

I have using ajax requests in my website to verify data provided by user. Already I'm using wp-nonce with minimized lifetime. But unlimited requested are triggered on that ajax action so help me to limit the ajax requests or fix this issue.

Share Improve this question asked Dec 18, 2019 at 4:34 ManikandanManikandan 1 2
  • that should be handled by your hosting provider... handling it in your php is handling the request. – Reigel Gallarde Commented Dec 18, 2019 at 5:21
  • Okay. will check that. – Manikandan Commented Dec 19, 2019 at 5:55
Add a comment  | 

1 Answer 1

Reset to default 0

I have setup the google recaptcha in form once form submitted I'll validate the recaptcha in the ajax request in functions.php. So spam requests are neglected.

本文标签: plugin developmentRate limiting ajax requests in WordPress