When are response headers created in ASP.NET web forms?

Posted by Jones on Stack Overflow See other posts from Stack Overflow or by Jones
Published on 2010-04-23T16:33:15Z Indexed on 2010/04/23 16:43 UTC
Read the original article Hit count: 289

Filed under:
|

I read somewhere the you can't remove response headers once they've been added. Given that, I'm wondering where in a standard ASP.NET web forms application do response headers get added initially. For example, these:

Date Fri, 23 Apr 2010 16:25:56 GMT
Server Microsoft-IIS/6.0
X-Powered-By ASP.NET
Cache-Control private

And can I stop it from happening? Do subsequent headers override old headers? Does my question even make sense?

Thanks.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about headers