Returns true if the current request is using a global host header.

Syntax

Smartsite SXML CopyCode image Copy Code
boolean channel.hostheaders.isglobalhostheader()
boolean channel.hostheaders.isglobalhostheader(string hostHeader)

Parameters

Name Data Type Description
hostHeader String The host header of which you want to know if it is a global host header.

Return Value

Data Type Description
Boolean

Expand image Example

SXML