Author: Eugeniy Marilev
Date of publication: 2014-09-03 19:11:31

We offer Comet ("Long Polling") technology, the basic idea of ​​which is the transmission of information to browser on the initiative of the server. Comet servers implement HTTP Push Relay Protocol. The client connects to the web-server channel with a unique key (makes a usual connection and passes a unique channel key in parameters), and the server keeps the connection until the next portion of data …

Author: Denis Trubachev
Date of publication: 2014-05-27 00:26:33

Initially, this problem appeared during going to the same page in another browser tab, if the script is fairly long and, in addition, the work with the session is necessary in the script. Two requests are queued and the next is proceeded only after the previous one is finished. An illustrative example of the code:

Author: Eugeniy Marilev
Date of publication: 2013-09-17 04:32:40
"Why can not I make an AJAX request to another domain?". This question is asked quite often and not by beginners only. The answer is - it is done for security reasons — in case scripts that somehow got to the page could not send data to a remote server. After launching the client script can get the content of cookies, user preferences and other client confidential information.…
Author: Eugeniy Marilev
Date of publication: 2014-05-06 10:37:27
As it was previously mentioned in the article about cross-domain AJAX requests, the option of setting up a web server for Internet Explorer is not suitable, and therefore we can only implement a suitable engine for asynchronous requests to remote server.…