Hi all,

I'm doing a simple xmlhttprequest callback (actually html streaming), and I can get my "values" from the server every second just fine. I make the connection, and I just receive "data" from it that I can then parse, use, etc.

This is now all working fine.

My question is, the "responseText" keeps everything that it's gotten to date, so at the start, I would get "1", then a second later, I get "1, 2" (the old "1" and the new "2"), then "1", "2", "3", etc...How would I (if I can), clear the responseText out each time? After awhile, the responseText will get really large if it runs for hours...

One way if I cannot clear the responseText is after "100" iterations, close the connection and recreate a new one to limit the size of the buffer...

Thoughts?

~Kam (^8*