Starting background process from webpage
Date: 06/01/07
(Asp Dot Net) Keywords: web
I have a requirement to take data from the user, send the data to external webservices, wait for a response and then update my system based on the response from the external webservice.
Waiting for a response from the external webservice could take a few minutes so I dont want the user to sit waiting.
I'd like to have a queue of items and then have a background process that picks the next item from the queue, talks to the webservice and updates the item in the queue when it gets a response.
Problem is I have no idea how to get the webpage to kick off the background process. How would you do it ? Are there any code examples you can recommend ?
Source: http://community.livejournal.com/aspdotnet/89835.html