Raw Command Raw
Returns the "raw" contents of a template.

Sometimes you, or someone from technical support, will need to view the text of a template file in its raw form, without being processed by WebDNA. Usually this is so you can see the WebDNA commands rather than the final resulting HTML those WebDNA commands generate. WebDNA normally intercepts URLs leading to template files, and makes it impossible to 'view the source' of a WebDNA template.

The Raw command is provided for sites using Suffix Mapping to automatically process all files ending in a particular extension. In this scenario, it is impossible to link to the file directly to view the raw contents of the file. While this is good because it does not allow the outside world to see the contents of your pages, it can make site development difficult if you are debugging a particular page remotely. The Raw command should be protected with the Admin password so it is not available to everyone accessing your site.

User Contributed Notes

Copyright © 2008 WebDNA Software Corporation, Inc.