Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems



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

HRESULT AddHeader(

BSTR bstrHeaderName,

BSTR bstrHeaderValue


Parameters: IResponse::AddHeader


A binary string that contains the name of the HTTP header.


A binary string that contains the header value.

Remarks: IResponse::AddHeader

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 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.