wwPageResponse::AppendHeader

Adds an HTTP Header to the current page.

Essentially the same as Response.Headers.Add(), but this method is consistent with ASP.NET and shows up in Intellisense.

o.AppendHeader(lcHeaderKey,lcHeaderValue)

Parameters

lcHeaderKey
The header to add

lcHeaderValue
The value for the header

Remarks

More info on HTTP Headers

Example

*** Refresh the page in 2 seconds
Response.AppendHeader("Refresh","2; url=/wconnect/weblog/default.blog")

*** Add a custom header value
Response.AppendHeader("Custom","MyCustomValue")

See also:

Class wwPageResponse

© West Wind Technologies, 1996-2018 • Updated: 09/07/11
Comment or report problem with topic