I need to know if Response.Clear()
just clear content or it also remove the headers?
in other word if I use Response.Clear()
, do I also need to use Response.ClearHeader()
or not ?
AS MSDN SAYS
The Clear method erases any buffered HTML output. However, the Clear method erases only the response body; it does not erase response headers.
To clear header use Response.ClearHeaders();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With