> I am working on a large-scale portal application and need
> some way to pass application variables between applications.
> I am wondering if anyone has any simple ideas on how to do
> this?
>
> For instance, I have an application running in a root
> directory and a second application running in subdirectory,
> something like this:
>
> App1
>  |- App2

(Ignoring rest of email as it's not relevant to my email)

The way I do this is with renaming the main application.cfm template,
then having another application.cfm which CFINCLUDEs the renamed one

CF won't allow you to CFINCLUDE application.cfm or the other default
templates

So, in App1;
Application.cfm
<CFINCLUDE template="_application.cfm">

In App2;
Application.cfm
<CFINCLUDE template="_application.cfm">
<CFINCLUDE template="/App1/_application.cfm">

Simple enough, but it works...

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.
**********************************************************************


______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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