Equinox Online Help - Language Reference - A to Z
WebGetHeader |
|
|---|---|
| Applies to | ![]() |
| Syntax | WebGetHeader [header field], variable |
| Action | [statement] Assigns a header value to a variable |
| Scope | Used in method language on an ESP page. |
| Notes | WebGetHeader will read the value of a specified request header field and assign it to a variable. For more information on Headers, see Resources |
| Category | Web Server |
| See Also | WebBaseDirectory, WebCurrentPage, WebGetCookies, WebOutput, WebOutputFile, WebParameter, WebPostData, WebRedirect, WebSetCookie, WebSetHeader |
| Example | This example demonstrates the assignment of a header field to a variable that then generates an output depending on its value. WebGetHeader “Accept-Language“, lang |
