Categories
Etc

HttpResponse.Filter Fun

Stuff I learned about HttpResponse filters and the ASP.NET pipeline today:

  • Calling Server.Transfer or Response.End will kill the Filter. Anything that calls Response.End() or
  • Server.Execute passes code through the filter just fine
  • PreSendRequestHeaders and PreSendRequestContent don’t seem to fire unless you call HttpResponse.Flush()
  • Fulfilling from the OutputCache causes all the events between AuthorizeRequest and EndRequest to not fire
Advertisements