I get this intermittent exception in my asp.net C # web application:
The server cannot add the header after sending the HTTP headers.
And this is due to the fact that the application adds content to the response header of the pages after the page is sent. I'm not sure why its intermittent, but what I need to do is check before changing the headers to check if the page has been sent.
Does anyone know how I can achieve such a check?
amateur
source share