Automatically running thread stopped after the application idling for more than 1 hour

Posted by U Liyanage on Stack Overflow See other posts from Stack Overflow or by U Liyanage
Published on 2010-03-25T05:18:26Z Indexed on 2010/03/25 5:23 UTC
Read the original article Hit count: 221

Filed under:

I have a web application which runs on IIS 6.0 and it has a thread that runs on the applicaion startup. That thread will run continously after the application startup with a sleep time of 10 seconds (This will update the application cache from getting the data from DB). But once the application is idle for more than 1 hour this thread is no longer running. Please give me a solution for continously run this thread.

© Stack Overflow or respective owner

Related posts about c#