Is it possible to access the ASP.NET cache from within the Application_Start
event handler? If so, what is correct syntax? If I try to access
HttpContext.Current.Cache I get an "Object reference not set to an instance
of an object" error. Is there another syntax to reference the Cache through
the Application object?
Thanks,
Zoe
Alvin Bruney - 05 Aug 2003 22:48 GMT
No you can't because typically a session isn't started yet.
> Is it possible to access the ASP.NET cache from within the Application_Start
> event handler? If so, what is correct syntax? If I try to access
[quoted text clipped - 4 lines]
> Thanks,
> Zoe