Previous PageNext Page

13.7.1 IResponse::AddHeader

The IResponse::AddHeader method adds an HTTP header to the HTTP response.
 

HRESULT AddHeader(

BSTR bstrHeaderName,

BSTR bstrHeaderValue

);

Parameters

bstrHeaderName
A binary string that contains the name of the HTTP header.
bstrHeaderValue
A binary string that contains the header value.

Remarks

This method always adds an HTTP header with the specified value. It will not replace a header with the same name, once a header has been added it cannot be removed.
 

Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page