Patrick,

Check this out:

http://www.bennadel.com/blog/348-Creating-ColdFusion-Components-In-Paren
t-Directories-From-Sub-Directories-Without-Mapped-Paths.htm
Or -  http://bennadel.com/index.cfm?dax=blog:348.view

It's a bit of a hack, but no mappings or anything required.


......................
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/


-----Original Message-----
From: Patrick J Hedgepath [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 14, 2007 10:11 PM
To: CF-Talk
Subject: CFC in a higher level directory?

Is it possible to call a CFC from a higher level directory without using
mapping or virtual folders?

 

For example let's say I have 5 sites all running the same code so I want
a CFC folder outside all 5 of these like this.

 

C:\CFC

 

And the sites are

 

C:\site1

C:\site2

C:\site3

C:\site4

C:\site5

 

 

I want to just do this <CFINVOKE COMPONENT="../cfc.Application"
METHOD="SessionMgt"> but that does not work.

 

How can this be accomplished?

 

 

 

 






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293362
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to