wwPageResponse::AppendHeader
less than 1 minute to read

Adds an HTTP Header to the current response.

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

foxpro
*** 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-2024 • Updated: 04/01/23
Comment or report problem with topic