Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Using CF 9 in Application.cfc

Posted on 2011-03-22
3
Medium Priority
?
501 Views
Last Modified: 2012-08-14
Hi, Everyone has noted that there is a new feature in CF 9 like i can set the value of

this.datasource = "mydsn";

but if i need to pass the username and password also, do i need to pass it as a structure, if yes. then how we do it!

Please do let me know

Thanks
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
Brijesh Chauhan earned 500 total points
ID: 35196336
this.datasource={name="mydsn", username="user", password="passwd"}
0
 
LVL 11

Expert Comment

by:Brijesh Chauhan
ID: 35196443
0
 
LVL 16

Author Comment

by:Gurpreet Singh Randhawa
ID: 35196771
Hey Thanks Brijesh, Wonder how i Skepped this Info from livedocs, Thanks for it, I have bookmarked it
0

Featured Post

Major Serverless Shift

Comparison of major players like AWS, Microsoft Azure, IBM Bluemix, and Google Cloud Platform

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question