views:

6

answers:

0

I have recently written a windows service that will keep alive an ASP.Net 2.0 web application. Since this application must support scheduled execution, I need to prevent it from unloading itself - hence the service.

So in testing, I loaded a page that had a timer on it... interval=1800000 autoreset=True It will elapse every 1/2 hour, then reset itself.

To test the Timer.Elapsed event, I had it sending an email to notify me of its execution. So after a day of successful email messages being delivered every 30 minutes, I stopped the Keepalive Windows service.

However, messages are still being sent every 30 minutes; obviously the web app is not being unloaded. I am certain no other requests are being sent to the site, as it is on a LAN and I am the only one who knows its address.

QUESTION: Will the execution of an elapsing, auto-resetting timer prevent a web site from unloading?

THANKS

related questions