Yes

I am not 100% sure but I recall this being discussed somewhere once
before!

This I am sure if I recall this right, will also give you the stacjk of
templates that has already been interoperated as well!

GetBasTagList()


Hope this helps!!




-----Original Message-----
From: Jim McAtee [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, 1 December 2001 11:06 AM
To: CF-Talk
Subject: Restricting execution of CF tag

If I've got CF tag with, let's say, a file name of "header.cfm", is
there a
way within the tag to test if it's been called as a CF tag?  I'd like to
keep the template from being executed if it's ever designated in a url
and
to simply <cfabort> if it wasn't used as a tag.

Similarly, I usually name cfinclude'd files with a .cfm extension.  Is
there
a means of testing to see if the current template has been cfincluded
within
another?  Once again, just to keep the included file from being executed
stand-alone.

Thanks,
Jim

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to