So i try again and hopefully understand a little more.
Problem: My application sits in shared web space. My web service provider is re-cycling the application every 20 Minutes or so - viz/.
HostingEnvironment initiated shutdown HostingEnvironment caused shutdown at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal() Local Time: 7/14/2009 7:33:47 AM
I am connected to a third party server and when the application pool recycles the connection is lost. The application makes realtime decisions and must always remain connected to the third party server. Application_End gets fired when the recycle occurs but I can't see a way of running code or bringing the site back up again in its historical state without hitting the web site with a browser request and firing Application_Start. Does anybody know how to solve this problem please.
Robert