Posted on

Today I have very interesting bug related to status bar message  in IE7. On pages I has three flash <object> tags with src pointing to web handler. Handler is returning flash binary data to be displayed with Response.BinaryWrite . But even after all flash movies have been displayed IE7 was stucked with message in status bar ” Waiting for http:// xyz   3 items remains”. In FireFox same page working as designed. 

First I thought that something wrong with object tag or how I called handler. To my suprise problem was solved when I move all code from handler to empty aspx page. The difference in responce output was only in empty doctype,body ,html tags after binary data in responce.

I get one more step and move back all code to handler and add doctype code. Ha! it still working.

Finally I ended with just empty string insertion.

context.Response.BinaryWrite(data);
context.Response.Write(” “);
context.Response.End();