Answer the question
In order to leave comments, you need to log in
Where does the “canceled” status of the browser come from, what does it mean?
The problem is this: I load a page and after loading it I make a request to the server with ajax (long polling) for 25 seconds. The page is loaded, connected by ajax to the server. Sometimes (!), if you refresh the page (or just follow the link), the request gets the status "pending", and then the connection to the server via ajax gets the status "canceled" and the page hangs for about 5 seconds. Why does this happen?
I use WAMP, Apache 2.4.4, php 5.4
Answer the question
In order to leave comments, you need to log in
the fact that the browser hangs may be due to the session .. do you even check during the long pulling itself, requests on the site are executed or hang until the long pull releases the connection?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question