> Is there a way to force CF 6.1 to update a cached
> query programatically.

There are a couple of potential options off the top of my head.  If the
times that the query is run are set, you could use a cachedwithin attribute
to force it to expire after a certain period.  If you want to force a flush,
you could invoke the CF factory object and force it to flush all queries.
To invoke the factory...

<cfset factory = CreateObject("java", "coldfusion.server.ServiceFactory")>

You can CFDUMP the factory object to find the exact method to call, I don't
remember what it is off hand.


-Justin Scott


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

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