I'm developing a basic ColdFusion application for a class and cannot control the CFAdmin. I was wondering if there was a way to avoid the repetition of the attributes datasource, username and password in each one of my queries, since they're always the same.
Replacing :
<cfquery name="name"
datasource="datasource"
username="username"
password="password">
By :
<cfquery name="name">
Thanks!
If you're using ColdFusion 9.01 or higher you can set these values within Application.cfc. In summary: