The bad news: You can't from application end.
It is possible, however, to set up some form of watcher. The easiest would
be to set up a service that watches the app domain and restarts it when it
comes down. A cheap possibility (easy to code) is to fire an HTTP request
when the app comes down so the current App_start is fired. But, you can get
as sophisticated as you desire.
If possible, you can set up the email timer as a separate service, then it
would stay up regardless of the web application. You would communicate
through standard service endpoints from the web application. This could be a
better design, esp. if you see this type of application (email timer) used
in other applications.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
*********************************************
Think outside the box!
*********************************************
"sean_mcad" <(E-Mail Removed)> wrote in message
news:9525CAFC-081D-4049-97AE-(E-Mail Removed)...
>I have now confirmed that my application level objects are being killed
> during worker process “recycle”. I was going to write some code to
> re-create
> these objects at the Application_Start event however that event doesn’t
> fire
> until the next request to the web site. The trouble here is that I need
> those
> applications alive regardless of visits because they contain email timers.
> It’s fine to lose it them for a few minutes but all weekend can really
> screw
> things up.
>
> So, from the Application_End even what is the best way to ‘re-start’ the
> application because I noticed there is not a Application.Start method.
>
> Thanks
>