In a simple .asp file, any content outside the tags is <% %>sent directly to the output buffer. In addition, the expression in the tags <%= %>is evaluated and sent to the output buffer.
I want to redirect it so that in some context that I set, the result of these two constructs is instead sent to a buffer that I control. If possible, I would like to be able to do this dynamically so that I can redirect the output to different buffers at runtime.
The problem is open, largely because I will plan what I create around this solution. I could use any method that exists to capture this output. Performance and ease of use are not core considerations.
This is a continuation of this question in which I am trying to find one possible solution that does not work.
source
share