<cfset DocName=ListLast(CGI.Path_Info,"/")>
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Brandon McMurray
Sent: Thursday, June 07, 2001 12:51 PM
To: '[EMAIL PROTECTED]'
Subject: referencing document name from within the documentHello -
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
