[thelist] the cold fusion registry
walker
walker at sdproductions.com
Fri Feb 16 09:26:14 CST 2001
Dan,
Found this in the cf documentation. You might be able to call these from a
form....
just a swag. i'll test and see if I can call cfusion_verifymail()
-w
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
Registry
· CFUSION_SETODBCINI() -- Sets ODBC data source information in the
Registry
· CFUSION_GETODBCDSN() -- Gets the ODBC data source names from the
Registry
· 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
>CF'ers.
>
>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?
>hkey_local_machine\software\allaire\coldfusion\currentversion\datasources\foo:613779432
>
>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!
>
>.djc.
>
>
>---------------------------------------
>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
303.722.5473
More information about the thelist
mailing list