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:

Technical Change History

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

F.A.Q

A compilation of some user's questions...

[biotype]

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

Download WebDNA Applications

WebDNA applications...

AWS Raw WebDNA LAMP-Plus WebServer

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

Tips and Tricks

A list of user-submitted tips ...

Related Readings:

[protect]

...

[writefile]

[writefile] functions allows you to perform a wide variety of tasks...

[time]

Putting [time] in your template displays the current time set on your web server's clock...

[encrypt]

[encrypt] and [decrypt] allow you to store sensitive data in your databases without risk of exposing it to prying eyes...

Database format

...

[DOS]

Executes the DOS batch file commands contained in the context and displays the results...