> cachedwithin="#createTimeSpan(cache_time)#"
> 
> OR maybe
> 
> <cfset cache_time = createTimeSpan(2,0,0,0)> ....
> cachedwithin="#cache_time#"

The first won't work, because the CreateTimeSpan function requires four
arguments, not one. The second should work, I think. Also, you could
probably do this:

<cfset cache_time="2, 0, 0, 0">
.... cachedwithin="#Evaluate("CreateTimeSpan(" & cache_time & ")")#"

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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

Reply via email to