> Has anyone cracked how to address CFC in a shared server environment?
Using
> dot notation to get call the CFC only seems to work if you are the only
> application on the server since it seems to have a hard time prepending
your
> particular root directory onto the call.  I can call a cfc with no path
> information as long as the cfc file is in the same directory as the
template
> that is calling it, but not in another directory. This is becoming very
hard
> to live with but the only alternative I can see is moving to my own server
> which is cost prohibitive right now.

You can find this topic discussed quite a few times on CFCDev's list:

http://www.mail-archive.com/[EMAIL PROTECTED]/

Until now the solution that worked better for me is to define a Custom Tag
folder and put my CFCs there. You can invoke them with dot notation using
that folder as a root. Another alternative is to leverage mapping.

Please note that this still doesn't protect you from name clashes among the
same box...

----------------------------
Massimo Foti
http://www.massimocorner.com

Co-Author of Dreamweaver MX 2004 Magic:
http://www.dwmagic.com/
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to