I bet if we put our heads together we could come up with an even more
complicated solution that makes us look really smrt. 



-----Original Message-----
From: Wil Genovese [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 20, 2007 4:29 PM
To: CF-Talk
Subject: Re: Darn syntax


you need a variable for each portion of the createtimespan function.

cachedwithin="#CreateTimeSpan(cache_time_day,cache_time_hour,cache_time_minu
te,cache_time_sec)#"


-- 
Wil Genovese

One man with courage makes a majority.
-Andrew Jackson

A fine is a tax for doing wrong. A tax is a fine for doing well. 



Robert Harrison wrote:
> Let's try this again. the list seems to be funky.
>
>  
>
> I've got the table driven system with all these profile reads. The 
> profiles don't change often so I want to cache unless I'm testing. If 
> I'm live I want my cache time at several days.
>
> So I set:
>
>  
>
>                 <cfset cache_time="2, 0, 0, 0">
>
>                 OR
>
>                 <cfset cache_time="0, 0, 0, 0">
>
>  
>
> Now on my profile query statement, instead of saying
>
>  
>
> cachedwithin="#CreateTimeSpan(2, 0, 0, 0)#"
>
>  
>
> I want to say
>
>  
>
> cachedwithin="#CreateTimeSpan(#cache_time#)#"
>
>  
>
> But it don't like that. I've tried various combos using and not using 
> EVALUATE, etc. but it just doesn't want to obey me.
>
>  
>
> Anyone see the correct syntax. I'm sure this is nothing more than a 
> syntax problem but I'm not seeing it right now.
>
>  
>
> Thanks,
>
>  
>
> Robert B. Harrison
> Director of Interactive services
> Austin & Williams
> 125 Kennedy Drive, Suite 100 Hauppauge NY 11788
> T : 631.231.6600 Ext. 119
>
> F : 631.434.7022
> www.austin-williams.com
>
> Great advertising can't be either/or... It must be &.
>
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289079
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to