Is there any way that I can emulate the CF Administrator, and have a DSN create automatically from my application? For example, when a user runs install.cfm I want the template to create a DSN for a database already loaded on the server.
I believe there are "un-documented" CF tags which are used by the CF administrator scripts which you might could find and use. The other more realistic approach would be to use <cfhttp> to request and submit the administrator templates just as if you had gone into the adminstrator pages with a web browser. I intend to use this approach to write an app allowing my hosting clients to manage their own datasources.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.