I somehow never had occasion to do this using a CF built-in function, but
would like to by-pass entering some of the optional parameters and use
"defaults".

Specifically I've created a caching region, and will just be using the
defaults for the time-outs.

CachePut(id, value, [timeSpan], [idleTime], [region], [throwOnError]);

So I'd like to just do something similar to this:

CachePut(id=x, value=v, region='myregion');

This doesn't work of course. I also tried, argumentCollection without
success.

I'm assuming this is just the way life is and will have to do something to
just pass the region defaults.

cachePut(id, val, CacheGetProperties('myregion').TIMETOIDLESECONDS,
CacheGetProperties('myregion').TIMETOLIVESECONDS, 'myregion');


Byron Mann
Lead Engineer & Architect
HostMySite.com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357900
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to