GetHeader method: Request class

Syntax

GetHeader(name)

Description

This method returns the value of the header requested by the string name. The match between name and the request header is case-insensitive. If the header requested does not exist, an empty string is returned.

Example

The following example gets the "Referer" header to see where the request came from:

&Referer = %Request.GetHeader("Referer");