I am developing a MVC3 site that one action must download hundred of images, create a super big image and download it. To do such a thing I assumed that I could create a thread, do the job, update the session with the progress (#image) and finally save to server the completed file.
At the same time I would create a JavaScript that request data from the server and the server returns the session variables set from the thread.
I have created a thread process that does a time consuming job and update the progress using session but after the thread start the session is null.
Do you know what should I do to update the client with the process progress?