Not sure what that has to do with locks.  Nothing at all as far as I can tell.

I'd hope the entire application uses the same datasource.  If you need
a second one, just set application.otherdb = 'whatever'

-Cameron


On Tue, 28 Dec 2004 16:27:35 -0400, Larry White <[EMAIL PROTECTED]> wrote:
> 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 - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188909
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to