SetHeader Method
Syntax
Context.Response.SetHeader as V (Name as C, Value as C)
Arguments
- NameCharacter
The name of the HTTP header item.
- ValueCharacter
The value of the HTTP header item.
Description
Sets an HTTP header to the current response.
Discussion
Context.Response.SetHeader(Name, Value) set an HTTP header to the current response. If the header already exists, it's value is overwritten with the Value passed in. If the header does not already exist, it is added.