1. #1
    Sencha User mysticav's Avatar
    Join Date
    Mar 2007
    Location
    Mexico
    Posts
    524
    Vote Rating
    45
    Answers
    4
    mysticav will become famous soon enough mysticav will become famous soon enough

      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,344
    Vote Rating
    490
    Answers
    712
    scottmartin has a spectacular aura about scottmartin has a spectacular aura about scottmartin has a spectacular aura about

      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
    524
    Vote Rating
    45
    Answers
    4
    mysticav will become famous soon enough mysticav will become famous soon enough

      0  

    Default

    Hi,

    This ended up to be a server-side issue.

    Thanks anyways.

Thread Participants: 1