>If I go into a cfc and modify a function, save it, reload the page that
>calls it, the page that does the calling still pulls up the old version
>of the function that existed before I made the changes. For instance, if
>I call a function called getEntries but modify the code within
>getEntries, the calling page does not recognize any of the changes.
>Further, I renamed a function getEntries to getEntriesX and refreshed
>the page again that calls getEntries, and I did NOT get the error that
>getEntries was not found, until I restart the server, then I get the
>error message that getEntries was not found (since I renamed it). In
>effect, the page does not recognize any changes to my cfc until I reboot
>the server or service. It makes for some awkward debugging to say the
>least, since none of my changes ever take effect.
>
>I've tried this on multiple servers with the same issue. Is it a compile
>thing? Am I the only one who doesn't know about this? :-)
>

CFCs do not get cached if you don't register it in the MX Admin as a Web 
Service. If you register it as a web service in the MX Admin, the they do 
get cached. I have been successfully developing (MX for JRun, U3) CFCs and 
have made tons of changes to them and refreshed right away with the changes 
taking effect. Of course, I've not used the Admin to register them.

Regards,
Dave.

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to