Help > Web Development > Reference > Scripting Objects > Response Object > AddHeader Method

Response.AddHeader Method

AddHeader allows you to add HTTP header values that are not covered by the response objects or add custom values.  The headers added will replace existing values: the expectancy of Set-Cookie and WWW-Authenticate.

Syntax
Response.AddHeader(name, value)

Parameters
name

string indicating the name of the HTTP header to add.

value string indicating the value of the new HTTP header.

Remarks

Perceptive Enterprise Search templates are generally configured as utf-8. This enables it to render Unicode characters which will support most languages.


Example
<% Response.AddHeader "isysVersion", "9.0" %>

Applies To
Response Object