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

 

IResponse::AddHeader

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

HRESULT AddHeader(

BSTR bstrHeaderName,

BSTR bstrHeaderValue

);

Parameters: IResponse::AddHeader

bstrHeaderName

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

bstrHeaderValue

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.