i have an aspx page, i do a response.write ( some html)
then response.flush()
an error occurs (and on my webconfig i have <customErrors mode="On" defaultRedirect="./Error.aspx" > )
i do a server.transfer to the page in order to pass the last http context with the error obj
and on my Error.aspx.cs I have to build dinamically my page
The problem: The html flushed stays on the second page, i cannot clean my page anymore.
If you have any idea about this, please let me know.
www.askmars.com