Explain the importance of AJAX to web scripting.
It enables JavaScript to update a portion of a web-page withou having to reload the entire page. It thus makes web pages seem more interactive, and able to provide real-time information.
Is it better to keep session information on the client side or the server side? Why?
It is better to keep session information on the server side for security purposes. Session information kept on the client side can be modified by a malicious user but session information kept on the server side should be free from tampering.