You should think of an AJAX web page as of a classical client-server application.
The client is implemented with JavaScript classes, running within the browser's DOM.
The server is your ASP.NET AJAX-enabled web form. The client and the server communicate
asynchronously and once initialized, the client runs independently
from the server, and is operational even if the server is unavailable.
This example simulates several possible conditions of communication breakdown:
1. When the session state expires - the session state is set to expire in 1 minute for this example.
2. When the web server response is delayed - artificial delay is introduced to the response and the callback timeout is set to 1s.
3. When the web application is restarted - the app-domain is unloaded to force the application to restart operation.
|