Number of AJAX requests

This topic contains 2 replies, has 3 voices, and was last updated by  Naveen Giri 6 months, 2 weeks ago.

  • Author
    Posts
  • #539644

    Evan Ernst
    Full Member

    Hello!

    The JS file ‘custom_ajax_duplicate_alert_public.js’ is triggering an AJAX call to the server on the action ‘gd_duplicate_alert_action’ on every single ‘keyup’ event, which for a full “sign-up” form can amount to hundreds or even thousands of requests.

    For example, the ‘Geodir Advanced Search Filters’ add-on bypasses this issue by making an AJAX request only if there were no keystrokes in the last 0.5 seconds.

    This is a problem because some firewalls can identify this as a sort of DoS attack, and block users out.

    #539728

    Kor
    Moderator
    Post count: 16516

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #539855

    Naveen Giri
    Moderator
    Post count: 1559

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Number of AJAX requests’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.