Equinox Online Help - Language Reference - A to Z
WebSetHeader |
|
|---|---|
| Applies to | ![]() |
| Syntax | WebSetHeader [response header field], value |
| Action | [statement] Sets a value for a header field. |
| Scope | Used in method language on an ESP page. |
| Notes | This statement sets the http servers response headers such as expiry date. |
| Category | Web Server |
| See Also | WebBaseDirectory, WebCurrentPage, WebGetCookies, WebGetHeader, WebOutput, WebOutputFile, WebParameter, WebPostData, WebRedirect, WebSetCookie |
| Example | This example tells the client that the data is a Jpeg image, which is then sent to the client using the WebOutput statement. WebSetHeader "content-type", "image/jpeg" |
