response.flush() problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tesn

    #1

    response.flush() problem

    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.


    Choose a memorable domain name. Professional, friendly customer support. Start using your domain right away.

Working...