Intercept ARR caching with custom IIS module

Peter Gibbons 21 Reputation points

We use a custom IIS module to validate certain parameters of a client request. When we activate ARR caching on the same IIS server, the request is handled directly by ARR and not passed to the module, thus our checks are passed without validation. Changing the module order does not change the behavior. Is there a way to intercept ARR caching with a custom IIS module, so the request first gets to be handley by the module and then passed to ARR caching?

Internet Information Services
0 comments No comments
{count} votes

Accepted answer
  1. Bruce ( 59,056 Reputation points

    there is pipeline ordering, but it controls the order the modules are called for pipeline events. that is if two modules register for the same event handler, the order they are called in. you probably need to support an earlier event.

0 additional answers

Sort by: Most helpful