Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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?

share|improve this question
    
its called [Long Polling][1] [1]: stackoverflow.com/questions/333664/… –  Hasan Khan Oct 3 '11 at 11:49
    
It's not long polling. In long polling, there is a long timeout on a request. The request/response isn't "never ending" at all. –  Thomas Owens Oct 3 '11 at 11:53
    
It is called Http Streaming –  rpgmaker Oct 3 '11 at 13:50
add comment

1 Answer 1

up vote 4 down vote accepted

You're definitely describing push technology, and it sounds like you're describing what's called "pushlet" on Wikipedia. I've heard of this technique, but I wasn't aware of its name until just now. It appears this name is more widespread, with a website dedicated to explaining how to use pushlets.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.