1. #1
    Sencha User mysticav's Avatar
    Join Date
    Mar 2007
    Location
    Mexico
    Posts
    522
    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,316
    Vote Rating
    485
    Answers
    703
    scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute

      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
    522
    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