Saving Configuration Options

Windows INI style files are plain text files that are well suited for reading and writing of configuration information. And while Windows itself does not really use these any more (the registry essentially replaced them), application developers still find them very useful as they are easy to work with and are highly readable and editable. ColdFusion developers can use the SetProfileString() function to write INI file values, and the GetProfileString() function to read them – and the files can be named anything (not just .INI and stored anywhere). (Applies to: ColdFusion 4.5 (or later))

Leave a Reply