I use a CFC with the same name as the app. So for cflib I have a cflib.cfc.
Each of my CFCs will make an instance of this CFC when they are created. The
cflib.cfc has one method, getSettings(), that returns a struct of settings
(dsn, etc). My core site's application.cfm uses the same method to load its
data as well.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to