XmlHttpRequest abort () method does not close connection in Internet Explorer

I have several xmlHttpRequeston my page, and I'm trying to call a method abort()for all of them. Works great in FF. IE, on the other hand, does nothing. Connections do not close, and I cannot go to another page until the requests are completed. What is it? Why doesn't IE close connections when invoked abort()?

+5
source share
2 answers

I almost never stopped working in IE. I'm tired and I can’t remember why - is there something about the fact that you cannot interrupt your work before you are in ReadyState 4 (or maybe it changed to ReadyState 4 when it is interrupted?). In any case, Ajaxian has work in the depths of its "archives":

http://ajaxian.com/archives/reusing-xmlhttprequest-without-abort

+3
source

Parallel-Ajax Requests vs. Apache-Session Lock


Session data is usually saved after your script is completed , but since the session data is locked to prevent simultaneous writing, one script can run in the session at any time .

, , - . , , .


, ajax session_start(); (, ), ( ) session_write_close();

session_write_close(); .

: session_id() - () PHPSESSID, , session_start() , .


ajax ( )

0

All Articles