Caching / Application_Start ASP.NET

Nov 28, 2008 at 2:50 PM
I have an ASP.NET application, on the application start event of the global.asax file I start a timer that runs once daily. When the timer fires, it loads data into the cache, using (CacheManager)CacheFactory.GetCacheManager().
The web site is hosted in IIS6.0 and runs under an application pool that recycles once daily. Idle Timeout (shut down worker process if idle for more than x minutes) is disabled.
It appears that when the site is inactive for a period of time (i.e. all sessions have timed out), the Application_Start event is called again on the next request?!!!!

How can I stop the application_start event from being called like this? ...or is my only option to store the cache to file / database?

Regards,
Rik
Dec 2, 2008 at 9:59 AM
Hi,

This seems to be the same situation as yours, See this link:
http://episteme.arstechnica.com/eve/forums/a/tpc/f/6330927813/m/2720908885/inc/1


Valiant Dudan
Global Technology and Solutions
Avanade, Inc.
entlib.support@avanade.com