Title: referencing document name from within the document

Hello -

How do I reference the name of the document being executed from within the same document?

For example, I have a document that is to be included inside several other documents.  I want to execute specific code from the include depending upon the name of the master document:

<cfif DocName eq "index.cfm">
...
<cfelseif DocName eq "data.cfm">
...
<cfelseif DocNme eq "signup.cfm">
...
</cfif>

How can I determine DocName?

--
Brandon McMurray

Reply via email to