AMPscript
Redirect
RemoveCookie
RemoveResponseHeader
SetCookie
SetResponseHeader
Write
Validate Your Server-Side JavaScript using WSProxy
Sets the value of the specified platform or HTTP Response header
SetResponseHeader(1, 2)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Name of response header |
| 2 | string | Required | Response header value |
1<script runat=server>
2 Platform.Response.SetResponseHeader("headerName","headerValue");
3</script>