Explain in brief abo XMLHttpRequest object.

Explain in brief abo XMLHttpRequest object.

XMLHttpRequest is an object used for data transfer with server and client’s browser. This object allows the data transfer without reloading the page. The data transfer takes place in plain text xml or JSON format. This object allows to parses the xml format. It is recognized by all the browsers

xmlOBJ = new XMLHttpRequest ()

XMLHttpRequest object is used to transfer data between a client and a server. Here the client can be a web browser. Here, the client can send and receive data without reloading the page.

It can be created as follow

Var request = new XMLHttpRequest ()
Describe the formats and protocols used by AJAX.
Describe the formats and protocols used by AJAX - The protocol used for making a request to the server is XmlHttpRequest. This object is created by client browser.
What are the security issues with AJAX?
What are the security issues with AJAX? - The Ajax calls are sent in plain text format, this might lead to insecure database access....
Describe how to handle concurrent AJAX requests
How to handle concurrent AJAX requests - This is done by using JavaScipt closures. Functions can be written to handle such requests.
Post your comment