This is kind of dangerous unless you use cflocks properly, and
cflocking the application scope can slow things down. The reason
is if somewhere in your app you change the application.datsource from 
"CODAGenomics" to something else, which you've indicated happens,
any other user loading a page will change it right back to 
"CODAGenomics". 


>Well, that worked, TNX very much. 
>
>When is cfparam appropriate?? 
>
>-----Original Message-----
>From: Qasim Rasheed [mailto:[EMAIL PROTECTED] 
>Sent: Monday, December 27, 2004 7:30 PM
>To: CF-Talk
>Subject: Re: STICKY Application.datasource
>
>Instead of this 
>
><cfparam name="Application.datasource" default="CODAGenomics">
>
>use this
>
><cfset Application.datasource = "CODAGenomics">
>
>
>On Mon, 27 Dec 2004 19:12:36 -0800, Richard Colman <[EMAIL PROTECTED]> wrote:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188901
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to