Header Method

Returns the user-defined HTTP headers

Syntax

cHeader = Response.Header()

Return value

The response consists of the HTML header entries generated through Response.AddHeader() as a character string. If no entries have been defined, an empty character string will be returned. Otherwise, all headers are returned, separated by CHR(13)+Chr(10). The last entry also ends with such a line break. The code

<%

   Response.AddHeader("X-Powered-By","AFP/3.0")

   ? ">" + Response.Header() + "<"

%>

returns this response

>X-Powered-By: AFP/3.0

See also

Response.AddHeader()