How to get the response sent to a client for every request

  • Thread starter Thread starter Ilyas
  • Start date Start date
I

Ilyas

Hi all

How can capture the response my pages send for each request, Ideally I
would want to not change my existing pages in anyway?

Could I use http handlers for this, if so how?
 
I couldn't understand what you really want...

what kind of response do u wanna get??? If there were errors? If it's fully
loaded??
maybe you should try assynchronous postbacks...

"Ilyas" <[email protected]> escreveu na mensagem





- Show quoted text -

Every time one of myapges sends some response back, I want to capture
that response, whatever it may be, html xml, text etc

I would like to be able to do it without modifying my exicting pages
in anyway, but I dont know if this is possible?
 
You could hook up Response.Filter in Application_BeginRequest in Global.asax
file
Then you get to filter every output....

PS: I would check if requested page is .aspx before hooking up. Other wise
you get to catch everything even requests for resources such as
WebResources.axd?....

George.
 
Back
Top