Technical References - [setmimeheader]

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

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:

Download WebDNA Applications

WebDNA applications...

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 reference

A list of all WebDNA instructions...

Technical Change History

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

Related Readings:

[SQLdisconnect]

...

[findstring]

[FindString Source=...

[sendmail]

There is hardly a website that doesn't at some point need to send an email...

[regex]

[regex] is a full implementation of grep...

[table]

[table] allows you to quickly create a temporary 'in line' database that is local to the template and not part of the global database cache...

[getchars]

Extracts a portion of the text (also known as substring or Mid$)...