Xbasic
Request.GetHeader Method
Syntax
dim result as C = Request.GetHeader(HeaderName as C)
Arguments
- HeaderNameCharacter
The name of the header to get the value.
Returns
- resultCharacter
Returns the value of the specified header as a string.
Description
Get a header value as a string.
Discussion
The Request.GetHeader() method returns the value for the specified header. If the header does not exist, Request.GetHeader() returns an empty string. There is no distinction between a header that does not exist, and a header that exists with an empty value.
dim HeaderValue as c = Request.GetHeader("MyHeader")