But it doesn't work when you try to replace an object with an older cached
version. You can do <cfset this = server.foo>, but it doesn't get returned
to the caller. I'd sure like an explanation for this behavior.
Because all you're doing is setting the "this" reference to the older object - you're not updating the newer object with the data from the older object.
What you need to do is a deep copy of the cached object - however that will be expensive. Almost certainly as expensive than initializing the object in the first place...
Sean A Corfield -- http://www.corfield.org/blog/
"If you're not annoying somebody, you're not really alive." -- Margaret Atwood
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
