There is a technique in which you don't end the response and this allows you to send content to the client in chunks like pieces of javascript or maybe xml document that can be parsed on the client side and give an effect of updating something in real time instead of polling the server again and again.
Was there such a technique or am I dreaming? Do you have reference to an online article explaining this?