G
Guest
Hi,
We are doing custom request rewriting in a httpModule in
Application.AuthenticateRequest for requests coming in with .aspx using
HttpContext.RewritePath().
We are having a problem identifying requests that come in from registered
httpHandlers i.e. handlers with extension .aspx. These should just fall
through and not be analyzed/rewritten. Is there a way (flag?) that identifies
a request as a request to a handler? The Context.CurrentHandler is not yet
set this early.
We could always read the configuration data but since handlers can be added
further down in the config hierarchy we cannot cache it and it seems like a
costly operation.
Grateful for any ideas.
Thanks,
Manso
We are doing custom request rewriting in a httpModule in
Application.AuthenticateRequest for requests coming in with .aspx using
HttpContext.RewritePath().
We are having a problem identifying requests that come in from registered
httpHandlers i.e. handlers with extension .aspx. These should just fall
through and not be analyzed/rewritten. Is there a way (flag?) that identifies
a request as a request to a handler? The Context.CurrentHandler is not yet
set this early.
We could always read the configuration data but since handlers can be added
further down in the config hierarchy we cannot cache it and it seems like a
costly operation.
Grateful for any ideas.
Thanks,
Manso