I want to write an IHttpModule
that has to be executed strictly after FormsAuthenticationModule
, otherwise it will be useless.
There's HttpContext.Current.ApplicationInstance.Modules
property that returns a collection of IHttpModule
s. I can check that my module is after FormsAuthenticationModule
in this collection.
Will that be enough? Does that collection list IHttpModule
s in the order in which they are executed?