I am working on an HttpModule class for collecting performance and run time data of ASP.Net applications.
I've figured out how to access the Session for information on ASPX files and classes implementing IHttpHandler (such as custom web resources or axd files), but I can't find a way to access the instance of HttpContext that is passed into ProcessRequest() on a generic handler (ASHX file).
Application.Session throws an HttpException
(Session state is not available in this context)
and the HttpContext.Current.Session == null.
Thanks!