Have you tried passing the session object from your HttpModule to your filter constructor and thus preserving the link?
Usually I will never rely on access to HttpContext.Current in my filters, but I pass the necessary values ββthrough the constructor or setting some properties before assigning Response.Filter. This separates things and makes them more convenient.
source share