I have gone through your article wherein you're using Response.Filter to capture HTML content. Although I have yet to try this mechanism.
It seems to suffice my requirement.
I just want to confirm with you one thing. Should I be writing an HTTP module as you had suggested to capture the HTML content of the requested page after it has been processed? From your article on "Low level look at ASP.Net", it seems that I should write
code in PostRequestHandlerExecute() method and use ResponseFilterStream class by initializing it with Response.Filter property.
Please let me know if my understanding is correct or not.
raringsunny
Member
133 Points
109 Posts
Re: HTTP Handler to capture HTML Content
Oct 27, 2011 01:37 AM|LINK
Rick:
I have gone through your article wherein you're using Response.Filter to capture HTML content. Although I have yet to try this mechanism.
It seems to suffice my requirement.
I just want to confirm with you one thing. Should I be writing an HTTP module as you had suggested to capture the HTML content of the requested page after it has been processed? From your article on "Low level look at ASP.Net", it seems that I should write code in PostRequestHandlerExecute() method and use ResponseFilterStream class by initializing it with Response.Filter property.
Please let me know if my understanding is correct or not.
Thanks,
Sunny