[thelist] the cold fusion registry

walker walker at sdproductions.com
Fri Feb 16 09:26:14 CST 2001


Found this in the cf documentation. You might be able to call these from a 

just a swag. i'll test and see if I can call cfusion_verifymail()


In addition to standard CFML functions, the ColdFusion 4.5 Administrator 
uses the following undocumented functions:

·       CF_SETDATASOURCEUSERNAME() -- Sets the default user name for a 
ColdFusion data source
·       CF_SETDATASOURCEPASSWORD() -- Sets the default password for the 
ColdFusion data source
·       CF_ISCOLDFUSIONDATASOURCE() -- Verifies a connection to a 
ColdFusion data source
·       CF_GETDATASOURCEUSERNAME() -- Gets the default user name for a 
ColdFusion data source
·       CFUSION_VERIFYMAIL() -- Verifies the connection to the default 
ColdFusion SMTP mail server
·       CFUSION_GETODBCINI() -- Gets ODBC data source information from the 
·       CFUSION_SETODBCINI() -- Sets ODBC data source information in the 
·       CFUSION_GETODBCDSN() -- Gets the ODBC data source names from the 
·       CFUSION_SETTINGS_REFRESH() -- Refreshes some ColdFusion settings 
not requiring a restart
·       CFUSION_DBCONNECTIONS_FLUSH() -- Disconnects all currently 
connected ColdFusion datasources

At 04:38 PM 2/15/2001 -0600, you wrote:
>so, this one goes out to any insiders at allaire or any ultra-guru type 
>the fun of manually adding 100's of datasources to CF has worn off, and 
>i'm looking to automate the process.
>now, i can write a script that will take the users name, database, and 
>pretty much everything else they need to connect to the DB and append it 
>to the cf.registry file. my questions are:
>Is just blind appending a good idea to do to cf.registry?
>In this sample datasource, what is the unique number on the end? How is it 
>generated? *Is* it unique?
>The password that gets stored in cf.regsitry is hashed. What kind of hash 
>is it? Is it a hash? Basically, what method does Allaire use to write that 
>password? Has anyone reveres engineered it?
>Would it be easier to use the <cfregistry> tag to do this? Can 
><cfregistry> add pre-defined keys, or only 'new' keys not defined by allaire?
>I appreciate any answers!
>For unsubscribe and other options, including
>the Tip Harvester and archive of TheList go to:
>http://lists.evolt.org Workers of the Web, evolt !

walker fenton
walker at sdproductions.com

More information about the thelist mailing list