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:

[biotype]

BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...

WebDNA Libraries

A list of available libraries for WebDNA...

Download WebDNA Applications

WebDNA applications...

WebDNA Modules

A list of the currently available modules...

Technical Change History

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

Tips and Tricks

A list of user-submitted tips ...

Related Readings:

[formvariables]

Lists all the form variables and parameters passed to the current page...

[redirect]

...

[findstring]

[FindString Source=...

[hideif]

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

[authenticate]

WebDNA provides a few options for password protecting your pages...

[if]

This context displays HTML or executes WebDNA conditionally only if the expression is true...