0

Hi,

I have made one web application with the use of AJAX. On each page i am sending lots of AJAX request.

I have two pages called parent and child. child is opened from the parent page. Now when i am closing child page before all the request sent by child page are completed, my parent page's request goes to timeout stage means my request doesn't goes to server side but when all the request of the client page are completed and then i am closing child page everything will be working perfectly.

Is there any solution for this problem ?

3
Contributors
3
Replies
5
Views
9 Years
Discussion Span
Last Post by tejalrupera
0

... Don't close the child page before the requests are completed?

lol..

I have two pages called parent and child. child is opened from the parent page. Now when i am closing child page before all the request sent by child page are completed, my parent page's request goes to timeout stage means my request doesn't goes to server side but when all the request of the client page are completed and then i am closing child page everything will be working perfectly.

Maybe have the window.onunload event clean everything up before the window closes.

0

Thanks for the reply
but as per my requirement is there any solutions that gives priority to ajax requests

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.