running thread with out problem in Web application
Hi,
I am trying out a logic to send new letters to clients and i need it to be done in regular interval.
So i have thought of running a thread in Application_start in Global.asax and to invoke the method that would send new letters via thread.
But i have second thought what if running site crashes and thread stops and ultimately the method to send new letters and won't start again. I think after site crash it won't start until a user request for a page of the site again.
So can anyone impart me how the site and thread behaves in this case scenario. Is there a way we make it work such that the process to send new letters never gets affected by site crash(please note: we can make scheduler exe, but i need a different solution).
Thanks in advance
__________________
imspratik
|