On Wed, 12 Jul 2006 23:42:34 +0100, "Chris" <no****@btinternet.com>
wrote:
>I want to use the global.asa file to trigger tasks. Sessions get started
frequently enough to put some code in there to schedule tasks once a day
without resorting to vbs scripts etc which I can't get permission to run.
This works fine but does the code that gets triggered cause the person
starting the session to have to wait until it is finished. I was hoping it
started on another thread. Regards.
Assuming you don't want to make a service out of this, you could use
the session event. You'd have to have some thread safe way to know
that you hadn't started the process already and of course you can
simply create a new thread and fire away. The thread won't die when
the request completes so it should not be a problem.
Peter Kellner
http://peterkellner.net