• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 21. Working with the System Registry > Getting Registry Keys and Values

21.1. Getting Registry Keys and Values

The CFREGISTRY tag gives you two methods for retrieving keys and values from the registry. You can set the ACTION attribute to GetAll to retrieve all the particular keys/values associated with a particular branch, or you can set ACTION="Get" to retrieve the value associated with a specific entry.

Let's consider a scenario where we want to look up information about the ODBC connections setup on the same machine as ColdFusion. There is a registry branch we can access that contains this information. The branch is:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint