Author: meera77c | Posted on: 10/28/2010 7:20:03 AM | Views : 269

Hi,

I have a function which performs a series of time-consuming operations which include querying a large database, customising an excel file and sending an email with a 5MB attachment.
I would like to excute this function in the background, when a button is clicked, and immediately redirect the user to another aspx page. The user should be free to browse to other pages or even close the browser when the background operation is still running on the server.
I have tried to implement threading but could not get it to work. The email with attachment does not get sent even though there are no errors.

I would be very gratefull for any help or guidance as to how to achieve this.

Thanks and Regards
Meera
...

Go to the complete details ...