setmimeheader
Add or force a new MIME header to the outgoing HTML use [setmimeheader]. MIME headers are normally used to create redirect requests and cookies. WebDNA already has special tags for generating redirects and cookies, there are cases when MIME headers for other purposes are required to be set.
Example WebDNA code:
Example WebDNA code:
[setmimeheader name=Content-Type&value=text/html; charset=iso-8859-1]
Parameters
Parameter | Description |
---|---|
Name | The name of the MIME header to set. |
Value | The value of the MIME header being set. |