Technical References - [setmimeheader]

Causes WebDNA to add a new MIME header to the outgoing HTML

numero = 229
interpreted = N
texte = Putting a [setmimeheader] tag into a template causes WebDNA to add a new MIME header to the outgoing HTML text for that page. MIME headers are normally used to create redirect requests and cookies. WebDNA already has special tags for generating redirects and cookies, but in the future you may need to create MIME headers for other purposes.
[setmimeheader name=headerName&value=headerValue]
Example:
[setmimeheader name=Content-Type&value=text/html; charset=iso-8859-1]
Putting a [setmimeheader] tag into a template causes WebDNA to add a new MIME header to the outgoing HTML text for that page. MIME headers are normally used to create redirect requests and cookies. WebDNA already has special tags for generating redirects and cookies, but in the future you may need to create MIME headers for other purposes.

[setmimeheader name=headerName&value=headerValue]


Example:
[setmimeheader name=Content-Type&value=text/html; charset=iso-8859-1]


DOWNLOAD WEBDNA NOW!

Top Articles:

WebDNA reference

...

Tips and Tricks

A list of user-submitted tips ...

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

WebDNA Modules

A list of the currently available modules...

WebDNA Libraries

A list of available libraries for WebDNA...

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

Related Readings:

[uppercase]

Changes all lower case letters to upper case...

[!]

Hides text...

[hideif]

[HideIf Comparison]Hide This HTML[/HideIf]...

Alphabetical WebDNA Reference

A list of all WebDNA instructions...

[cart]

Putting [cart] in your template automatically creates a unique shopping cart...

[ddesend]

Sends text to a DDE server program on the local machine...