Results 1 to 3 of 3

Thread: Ajax call on Window close

  1. #1

    Default Ajax call on Window close

    Hi Team
    I'm having a problem with Ajax request on Window close.
    My Scenario is, I'm trying to close and open the same window multiple times with an Ajax call and that to milliseconds gap I'm trying to close and reopen the same window.
    Whenever I stopped closing and reopening at that time, for the currently opened window I can see no.of calls(Which are previously closed window related calls I'm suspecting ).
    My question is, does the window close will destroy the ajax calls even though they are not completed ...?

    BTW, I'm using setTimeout inside the success call back to call ajax call.

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017


    Hi there,

    Sorry for the delay in response- I have passed this on to the support team and asked that they get back with you at their earliest convenience. We appreciate your patience!


  3. #3
    Ext Support Team
    Join Date
    Jan 2018



    The window will not abort ajax call if the call was initiated before window close. Since you are using setTimeout, maybe this call was initiated/registered in the browser memory and action performed on the set time period gap.

    It would be a great help if you can send us a fiddle demonstrating the issue. This will help us in identifying the actual issue.


Similar Threads

  1. Replies: 1
    Last Post: 20 Jun 2014, 7:36 AM
  2. Replies: 2
    Last Post: 6 May 2013, 10:37 AM
  3. Replies: 0
    Last Post: 1 Sep 2011, 1:54 PM
  4. Window hide then close vs window close... Problems re-opening the window.
    By zhegwood in forum Ext 3.x: Help & Discussion
    Replies: 7
    Last Post: 11 Jan 2010, 5:42 PM
  5. action call after close an ext.window
    By brigot in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 15 May 2009, 7:43 AM

Posting Permissions

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