> Grazie mille per l'aiuto, Massimo. My pleasure :-)
> Well, I understand what people are saying, I think. The > concern boils down to "if the dot notation path is the same > for two different CFCs, then you might be calling the wrong > CFC." Right on the spot. We saw it happening and it's quite scary. > > Do you have both D:\web\test_app_one\ and D:\web\test_app_two\ as virtual > > servers? > > They are two virtual hosts on the same server (Apache > 2.0.46), same IP address (http/1.1 to distinguish by host > header), and under "Caching" in the CFMX Administrator we > have deselected "Cache web server paths". That's strange because, as far as I know, calling the CFC with "application.objects.crossover_test" isn't suppose to work, since CF Server has no notion of virtual server and will start looking for the CFC from its root (I assume in your case CF root is D:\web\) Check a recent thread on this list: http://www.mail-archive.com/[EMAIL PROTECTED]/msg02677.html > We are developing a new model for websites in which all > non-web-accessible files (CFCs, custom tags, etc.) for a > site is in its "application" folder: > D:\web\sitename\application\ (we seal that off with an > Apache directive to "Deny from All" on that directory). > This, we hope, will help it be more portable. Is each "application* folder mapped as a custom tag directory inside CF Admin? That would at least explain why calling the CFC with "application.objects.crossover_test" works. BTW How are you calling custom tags, do you use <cfmodule>? > Any insight would be greatly appreciated. As I alluded to, > we are developing a new standard way for us to build CF > sites and applications, and I would hate to standardize on > something that will break down the road. I am sorry for not being able to help you more, I can only share my horror story and Jim did the same. Last winter I met Ben Forta on a CFUG event, I was discovering the pain of using CFCs on shared hosts so, among the other things, I asked about this too. He said there was the risk of CF server caching the location of the CFC, just like it happens for the <cf_myTag> notation and custom tags. It would be nice to hear from a MM insider and see if they can confirm it or not... Massimo ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
