Chrome’s loading indicator keeps spinning during XMLHttpRequest

I shamelessly stole Oleg’s test case and adjusted it a bit to simulate long-polling. load.html: <!DOCTYPE html> <head> <title>Demonstration of the jQery.load problem</title> <script src=”http://code.jquery.com/jquery-latest.js”></script> <script> jQuery(document).ready(function() { $(‘#main’).load(“test.php”); }); </script> </head> <body> <div id=’main’></div> </body> </html> test.php: <?php sleep(5); ?> <b>OK!</b> The result is interesting: in Firefox and Opera, no loading indicator is shown … Read more

Stop the browser “throbber of doom” while loading comet/server push iframe

After digging for a day and a night in the guts of the internets, here is what I came up with: server-sent events – Very cool, currently works only in Opera, but may be part of HTML5 and other browsers may support it sometime. Adds a new element tag with content-type of “application/x-dom-event-stream” which allows … Read more

How does a WCF server inform a WCF client about changes? (Better solution then simple polling, e.g. Comet or long polling)

It sounds to me like you already know the answer: use long polling. 🙂 So I guess the only thing left to explain is how you might be able to accomplish this with WCF and in the most efficient manner possible. The basics: First, decide how long you want each “long poll” to be. For … Read more

What specific use cases call for BOSH over WebSockets and long-polling? [closed]

First let me address WebSockets readiness: WebSockets implementation of the Hixie-76 protocol are shipped and enabled by default in Chrome, Safari and iOS (iPhone and iPad). The Hixie-76 protocol is also shipped but disabled by default in Firefox 4 and Opera 11. The web-socket-js project is a Flash shim/polyfill that adds WebSocket (Hixie-76) support to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)