Is AppendHeader exactly the same as AddHeader?

They are the same, so yes, you can replace HttpResponse.AddHeader with HttpResponse.AppendHeader.

From MSDN

AddHeader is the same as AppendHeader
and is provided only for compatibility
with earlier versions of ASP. With
ASP.NET, use AppendHeader.

A quick peek with Reflector confirms that HttpResponse.AddHeader just calls HttpResponse.AppendHeader.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)