|
|
Handling AJAX Timeouts with Prototype
|
03/23/2006, By Jason
|
Over CodeJanitor.com Json has written a script using the prototype, that checks the server and, with the help of a timeout setting, can gracefully let the user know it’s inaccessible.
He Writes "I’ve been implementing some AJAX goodness in Mayday and other FastFrame apps lately. In my reading of the various pitfalls of AJAX one that popped up repeatedly was how to handle gracefully a network outage or the webserver going down. For example, Gmail’s chat handles it nicely. When I turn off my airport connection Gmail chat lets me know that it can’t contact the server and maybe my connection is down. Much better than an endlessly spinning hour glass, or worse, not letting the user know their action was never completed."
Read more...
|
Rate this Ajax Articles
Rating: 9.0 out of 1 vote cast
| |
|
|
|
|
|
|
|
|
|
|
|
|