The only downside of using IFRAME for AJAX is that Internet Explorer makes an annoying "click" sound when opening a new page. This can be disabled in the browser, but not programatically, so visitors to our AJAX-with-IFRAME pages here a click every time the IFRAME refreshes.
We even built a web-based IM client using IFRAMES instead of XMLHttpRequest object because the IE browsers at this particular client would crash any time the XMLHttpRequest object was loaded even though their version of IE supported it and ActiveX was turned on.
Manuel Lemos - 2006-03-31 17:29:36 - In reply to message 1 from David Ethell
I was just discussing the click problem with Guilherme on the other day.
Depending on how you implement it, this is a legitimate concern, because you may really annoy the users with excessive click sounds.
Guilherme presented an example of a chat system or another kind of application that needs to regularly poll the server for any updates.
Swen Horvath - 2006-07-03 13:06:17 - In reply to message 2 from Guilherme Blanco
Am my missing something here ? As far as i know most PHP installations will terminate script execution after 30 seconds. So how can one keep a http connection alive 20 minutes if the server feedback terminates befor that ?