T
Thomas
I want to be able to implement a filter that manipulates the output from the
server... Maybe replacing some words, or highlighting a search string, or
some other fancy feature...
I want to make this code reusable to all my applications, and by making this
as a HttpModule I can implement this feature on existing .Net applications
by editing the we.config and nothing else...
My problem is that that I can't get this to work.
Some pseudo-code:
public class PostProcessingModule : System.Web.IHttpModule {
public void Init(System.Web.HttpApplication context) {
// What event should i use ....
// How do I reference the output and replace values
// How do I write my own manipulated stuff to the client
}
public void Dispose() {}
}
server... Maybe replacing some words, or highlighting a search string, or
some other fancy feature...
I want to make this code reusable to all my applications, and by making this
as a HttpModule I can implement this feature on existing .Net applications
by editing the we.config and nothing else...
My problem is that that I can't get this to work.
Some pseudo-code:
public class PostProcessingModule : System.Web.IHttpModule {
public void Init(System.Web.HttpApplication context) {
// What event should i use ....
// How do I reference the output and replace values
// How do I write my own manipulated stuff to the client
}
public void Dispose() {}
}