We want to create server-side code that will retrieve the user requested
pages, then manipulate the content of those pages just before being sent back
to the user. We tried the following:
• User requests the page, call it http://www.test.com/testapp/test.aspx
• IIS receives the request
• HttpHandler is called for all .aspx files requested as defined in the
web.config file for this application
<httpHandlers >
<add verb="*" path="*.aspx" type = "httphandlerRed ir.DomainHandle r ,
httpHandleRedir " />
</httpHandlers>
• The handler acts on behalf of the user and makes the request for the
test.aspx web page
• The handler retrieves the content, changes the structure and layout, and
returns this to the user
In the second to last bullet above, … the request for the test.aspx
(GetRequest()) causes another invocation of the httphandler to start as a
different session.
How can the handler make this request without it causing an invocation of
the httpHandler method again?
Is there a method that can be called that will request the page as part of
the same session?
Again, the goal is to be able to manipulate the finally constructed user
pages just before each gets sent back to the user.
Thanks
RP