How to intercept and modify ASP.NET Response
Posted on 2009-02-11
I need to intercept the response generated by ASP.NET pages immediately before they are sent to the client and possibly make changes to the response string. Specifically, I want to have tokens in the page HTML that I can replace with dynamic values "on the fily". I need this capability for the entire site, not just a single page. Is there an Application-wide event I can trap (sort of like Render or PreRender) that I can use? Also,how do I access the string itself?