Results 1 to 3 of 3

Thread: Simultaneous Ajax calls cause weird problem

  1. #1
    Sencha User mysticav's Avatar
    Join Date
    Mar 2007
    Location
    Mexico
    Posts
    528
    Answers
    4
    Vote Rating
    49
      0  

    Default Answered: Simultaneous Ajax calls cause weird problem

    Hi,

    I'm using Ext 4.2.1

    When I do an ajax call one after another, the second call is not loaded correctly.

    In the following screenshot from Google Dev Tools, you can see how the first Ajax call is done correctly, but the second one loads the root page with GET method, and the initiator is not Connection.js

    ajax_problems.jpg

    I can avoid this issue with Ext.deferring the 2nd call with 1000 milliseconds.

    So I guess there's some kind of conflict when dealing with subsequent ajax calls.

    I even tried the 2nd call with JQuery Ajax method, and I get the same problem.

    This has been impossible to debug, and it happens randomly. So any help will be appreciate it.

  2. Hi,

    This ended up to be a server-side issue.

    Thanks anyways.

  3. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,388
    Answers
    716
    Vote Rating
    499
      0  

    Default

    See if the following is useful:
    https://kb.sencha.com/#!article-133

  4. #3
    Sencha User mysticav's Avatar
    Join Date
    Mar 2007
    Location
    Mexico
    Posts
    528
    Answers
    4
    Vote Rating
    49
      0  

    Default

    Hi,

    This ended up to be a server-side issue.

    Thanks anyways.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •