Hi, Is it possible to use BackGroundWorker thread in asp.net 2.0 for the following scenario, so that the user at the browser's end does not have to wait for long time??
Scenario
- Browser requests a page, say SendEmails.aspx
- SendEmails.aspx page creates a BackgroundWorker thread, and supplies the thread with enough context to create and send emails.
- Browser receives the response from the ComposeAndSendEmails.aspx, saying that emails are being sent.
- Meanwhile, the background thread is engaged in a process of creating and sending emails which could take some considerable time to complete.
Thanks
Edit
My main concern is about keeping the BackgroundWorker thread running, trying to send, say 50 emails while the asp.net workerprocess threadpool thread is long gone.