Hi,

I wanted to know if it is possible to refresh the cache of a particular
object. I am using
the GetDescendants function to retrieve my navigation nodes using the
following code:

<cfset functionMethod = "getDescendants">
                <cfset functionArgs =  "depth=20">
                <cfset navID = "#application.navid.home#">
                <cfset bIncludeHome = "1">
                <cfset o = createObject("component",
"#application.packagepath#.farcry.tree")>
<cfset navFilter=arrayNew(1)>
<cfset navfilter[1]="status IN (#listQualify(request.mode.lvalidstatus,
"'")#)">
<cfset qNav = evaluate("o."&functionMethod&"(objectid=navID,
lColumns='externallink', "&functionArgs&", afilter=navFilter)")>

I then loop over qNav so that i can make my menu.

If i put any of my navigation items in the admin to draft then the menu
item of this still comes up because it is getting cached somewhere.
Does anyone know how i would be able to refresh the cache of only qNav
so that I can still display my menu properly.

I dont want to refresh all the caches just that particular one that
holds the information from qNav. 

Sumaira


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/farcry-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to