As with any change to the Registry the application whether it be Coldfusion
server or Windows itself the program needs to be restarted for the registry
to be reloaded:-)


-----Original Message-----
From: Greg Saunders [mailto:[EMAIL PROTECTED]]
Sent: Friday, 2 June 2000 9:57 PM
To: [EMAIL PROTECTED]
Subject: programatically changing CF ADMIN settings


I'm trying to programatically change CF ADMIN settings.  I'd like to be
able to change ANY of the settings, but to take a specific example, say I
want to set the "Site-wide Error Handler" (in 4.5).  I can do this with:

      <cfregistry action="set"

branch="HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Server
\"
            entry="ValidationHandler"
            type="String"
            value="c:\wwwroot\myErrorHandler.cfm">

When I do this, it changes the value of the "Site-wide Error Handler" in
"...CFIDE/administrator/index.cfm", but it has no effect on how CF
processes errors until I either cycle the CF service, or until I open the
administrator page (which already contains the NEW setting) and click APPLY.

Is there a more direct way of manipulating admin settings programatically?
If i must do it through the registry, how can I make the changes take
effect without opening the admin page?

Thanks,

Gregory M. Saunders, Ph.D.
Senior Design Architect
Cognitive Arts Corporation (http://www.cognitivearts.com)
120 S. Riverside Plaza, Suite 1520
Chicago, IL 60606

----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to