There are times that the network connection between the client and the web server and between web server and database server were lost while users are using the application. In these situations, an error should be displayed to inform users that an error has occurred.
We need to display the error message because this is a Ajax application. If there is the network problem, the browser by default does not display any error messages. Thus, we have to have a logic that catches those exceptions and displays an error message.
I wrote some code to catch these exceptions today. I tested them and everything worked perfectly.
Friday, April 27, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment