P
Pete
Hi,
I need to kick off a long running process in response to a user action
on my website. I'm not fussed whether it completes correctly or not (it's
just sends a load of emails) but I want control of the webpage to return
immediately to the user.
So all I do in my Server side event handler for the page is :
SiteUsers su = new SiteUsers();
Thread background = new Thread(new ThreadStart(su.EmailUsers));
background.Start();
Will this give me any undesirable side effects in ASP.NET? As I said earlier
I don't care if it completes or not so I've not used any Callback to tell me
when it's done.
thanks
Pete
I need to kick off a long running process in response to a user action
on my website. I'm not fussed whether it completes correctly or not (it's
just sends a load of emails) but I want control of the webpage to return
immediately to the user.
So all I do in my Server side event handler for the page is :
SiteUsers su = new SiteUsers();
Thread background = new Thread(new ThreadStart(su.EmailUsers));
background.Start();
Will this give me any undesirable side effects in ASP.NET? As I said earlier
I don't care if it completes or not so I've not used any Callback to tell me
when it's done.
thanks
Pete