MENU
AJAX
Asynchronous Javascript And XML is the art of exchanging data with a server and updating parts of a webpage, without reloading the whole page. To achieve this, the client must create, set and then send a Javascript XMLHttpRequest object, and wait for the response from the server.The same-origin policy applies to XMLHttpRequests
unless the server provides an Access-Control-Allow-Origin (CORS) header. If you wish to access the session variables in an AJAX call, remember to start the PHP script with: <?php session_start(); ?>