Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a DSN in a template

Status
Not open for further replies.

rmz8

Programmer
Aug 24, 2000
210
US
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.

Ryan ;-]
 
Hey Ryan,

I believe there are &quot;un-documented&quot; 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.

Good luck,
GJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top