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. The data transfer takes place in plain text xml or JSON format. This object allows to parses the xml format and the JSON format is loaded as plain text and parsed by JavaScript. It is recognized by all the browsers

- Ajax uses HTTP’s GET or POST. AJAX also uses XMLHttpRequest protocol for requesting to the web server.
- AJAX uses JSON format to communicate between client and server. UED or URL encoded data formats can also be used.
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.
When should AJAX NOT be used?
When should AJAX NOT be used? - AJAX should not be used for critical data and transactions to avoid security breaches and to avoid situations...
Post your comment