G
Guest
Hello,
I'm running a simple code in my web app that sends out an email. This code
runs at an interval of 1 hour. The class where this code belongs to gets
created when the application starts (Application_Start). The class itself
creates a new thread and the object is stored in the Application object. The
problem is, after sometime, the web application would end, thereby
terminating all threads. I need this code to run ALL the time. Is there a way
to prevent the Application_End from happening?
Thanks in advance for the help!
Edward
I'm running a simple code in my web app that sends out an email. This code
runs at an interval of 1 hour. The class where this code belongs to gets
created when the application starts (Application_Start). The class itself
creates a new thread and the object is stored in the Application object. The
problem is, after sometime, the web application would end, thereby
terminating all threads. I need this code to run ALL the time. Is there a way
to prevent the Application_End from happening?
Thanks in advance for the help!
Edward