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:
> I seem to have a "sticky" application variable. How do I get it to change?
> 
> The application.cfm file is:
> 
> <cfapplication name="CBRLVer11" sessionmanagement="Yes"
> clientmanagement="Yes" SESSIONTIMEOUT="#CREATETIMESPAN(0,8,0,0)#" > 
> <cfparam name="Application.datasource" default="CODAGenomics"> 
> <cfparam name="Application.name" default="CODA">
> 
> All the queries use:
> 
>        <cfquery datasource="#application.datasource#" name="xxx">
> 
> So, when I changed the application.datasource default value, the 
> related scripts Still bring up the old value.
> 
> Have tried clearing the browser cache, etc. etc.
> 
> Any idea why and how to fix?
> 
> TNX if you can shed some light on this problem.
> 
> Rick.
> 
> 



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188843
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