title: Server Side code Pushing Data to client Browser while current thread is busy Comet (programming)
body: <p>I am writing one simple web page with bunch of textboxes and a button control. Now when user finished editing the values on this text boxes user has to click the button and this button invoke heavily process intensive algorithm on server side code based on the data received from client (Textboxes)</p>
  
  <p>And it could some time takes up to 30 to 45 minutes to complete the whole operation so the current thread is still inside the button click event handler function.</p>
  
  <p>That background task only provides one event, and the web page subscribes to it to get some text data after each stage of processing</p>
  
  <p>I was wandering if there is any way I can keep user up-to-date with what is the current progress on that background task. I have div element to print the current status information</p>
  
  <p>So I am looking for some sort of reverse mechanism then "get" and "post".</p>
  
  <p>I have read some articles on the Comet (programming) but I can't find any easy or definitive answer</p>
  
  <p>Thanks in advance</p>