AJAX and HttpSession
How to handle Session in AJAX based application.
Lets assume that i have a page that dynamically loaded some section in that page when triggering some action (i.e onClick of a button). At that time we are Instantiate the XMLHttpRequest object and open a connection to the particular URL to do some database actions and populated the data into that section. If the main HTTPSession expired, Still AJAX goes to the server and respond. Since AJAX works behind the page.

