Usually, I include my Application.cfm file in an Application.cfm page that resides in 
a subdirectory, so that I have everything available for the scope of the application, 
yet I can set specific parameters just for that subdirectory.

However, if there is no Application.cfm page in that subdirectory, the CF will 
naturally execute the one in the parent directory, thus if I included it in say, 
index.cfm, It would be included twice.

Maybe that is why you were having issues?

I've had many issues with setting applications out without stepping on CF's toes in 
it's quest for the application.cfm to use.

-Igor

-----Original Message-----
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 1:40 PM
To: CF-Talk
Subject: RE: Passing Application Variables between Applications


> You can certainly cfinclude application.cfm.  I do it all the time.

I'm trying to remember why I couldn't do it at the time - since then
we've avoided it like the plague

I know there's a reason, and it had something to so with the include
levels, so that we had to rename the application.cfm files and then
include the renamed versions

I'm hunting through my notes to find it, but it might take a while

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911

www.aspmedia.co.uk
www.aspevents.net

An ISO9001 registered company.

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************



______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
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