Preventing Application_End

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top