Hi everyone,

Is there any way that I can get a list of all the sections within an ini file 
through ColdFusion? 

If I use getProfileSections and dump it I'm seeing each section + all the 
variables included with them. All I want, for now, is the section names.

What I'm looking to do is setup a simple dynamic loop which uses the list to 
grab each section, insert its variables into a struct and place this in my 
application. That way if I add a new section to the ini. file I don't have to 
worry about extending my CF code to accommadate it. 

Or is there an easier way I could be doing this?

Cheers,
James

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266246
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to