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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com 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

