New answers tagged requirejs
0
votes
How to prevent user sending requests frequently?
1. Using PHP
In the controller, Insert the current date and time into the cookie.
If the user clicks on the submit button the first time set the cookie and the second time check cookie is set or not.
...
Top 50 recent answers are included
Related Tags
requirejs × 527magento2 × 401
javascript × 214
jquery × 81
requirejs-config.js × 57
magento-2.1 × 56
knockoutjs × 56
uicomponent × 24
magento2.3 × 23
frontend × 21
checkout × 19
magento2.2 × 19
module × 16
mixins × 16
theme × 14
overrides × 14
adminhtml × 11
template × 10
php × 9
magento2.2.2 × 9
error × 8
custom × 7
admin × 6
slider × 6
addtocart × 5