Daemon thread

M

MK

I want to start a thread when the application pool is started or webserver
is started.
This thread will stay in the background and will sleep most of the time. How
would I start this thread?
Is there any server side settings that will do this?
(Just like in websphere app server settings where you can call up a servlet
during the appserver startup).

Thanks for your help.

-MK
 
H

Hans Kesting

MK has brought this to us :
I want to start a thread when the application pool is started or webserver is
started.
This thread will stay in the background and will sleep most of the time. How
would I start this thread?
Is there any server side settings that will do this?
(Just like in websphere app server settings where you can call up a servlet
during the appserver startup).

Thanks for your help.

-MK

You can start that thread in Global.asax, in the Application_Start
method.

Hans Kesting
 

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

Top