IResponse::AddHeader

This method adds an HTML header to the HTTP response. For more information, see the AddHeader method of the Response Object.

HRESULT AddHeader(

BSTR bstrHeaderName,

//a string that contains the name of the HTTP header

BSTR bstrHeaderValue

//a string that contains the header value

);