Alrighty, I'm going to answer my own question here...

Hi Jon,

You don't need to go into those xml files... in fact.. don't touch them.
Take a look at this code. It creates an instance of a component that handles
all of the server settings for you.

<CFOBJECT
    action = "">     type = "JAVA"
    class = "coldfusion.server.ServiceFactory"
    name = "factory">
<CFSET runtimeInstance = factory.getRuntimeService()>
<cfset runtimeInstance.setTemplateCacheSize(2048)>

This example would set the templateCacheSize to 2048. If you want to see the
other methods available, just <cfdump var="#runtimeInstance#">.

Hope this helps!
Yourself
  -----Original Message-----
  From: Jon Block [mailto:[EMAIL PROTECTED]
  Sent: Thursday, January 22, 2004 12:25 PM
  To: CF-Talk
  Subject: Help me turn trusted cache on/off with a cf script

  In CF5, I had a script to go into the registry and adjust the setting for
  trusted cache. It looks like in CFMX, I have to change the value in
  C:\CFusionMX\lib\neo-runtime.xml for trusted cache. Is that all there is
to
  it? Is there some function I have to call to instruct the server to
reparse
  the xml file for the new setting? Any help is appreciated!

  Jon
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to