February 2004 Archives

February 29, 2004

JavaScript/PHP Chat Part II

I've made a few changes to my chat tutorial—a bug affecting IE 5.0 has now been fixed and support for Opera 7 has been fine-tuned.

On a related note, I'd been wondering why I'd had this mysterious spike in my server logs last month—in one day I had about as many requests as I'd had over the previous month. Yet the number of visitors was about average, and the number of KB transferred wasn't too alarming.

It turns out this was the IE 5.0 bug. Apparently, someone was testing the chat in IE 5.0 and left it running for a couple hours. The bug was such that instead of pausing between server polls, the browser would send a new request the instant it received the previous response. So over the course of an afternoon, that can add up to a lot of requests. Fortunately, the chat is designed to use minimal bandwidth, so apart from this curiosity, there were no serious consequences. Although my Webalizer statistics are a little skewed—the request leader for January was the Netherlands.

Posted by jon at 10:34 PM | Comments (2)
November 2010
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30