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

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

Ilyas

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?
 
G

George

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,049
Latest member
Allen00Reed

Latest Threads

Top