Solved

Using CF 9 in Application.cfc

Posted on 2011-03-22
3
472 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
Question by:myselfrandhawa
  • 2
3 Comments
 
LVL 11

Accepted Solution

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

Expert Comment

by:Brijesh Chauhan
Comment Utility
0
 
LVL 15

Author Comment

by:myselfrandhawa
Comment Utility
Hey Thanks Brijesh, Wonder how i Skepped this Info from livedocs, Thanks for it, I have bookmarked it
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
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 …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now