If you run the query directly into session.cache_query rather than using the intermediate q, you could do exactly what you asked. For Google and other bots/users who don't keep sessions, your check to see if session.cache_query would always show it's nonexistant, so it would always be rerun.
--Ben Terry Ford wrote: >>You can use duplicate, but why not reference session.cache_query? >> >>bob > > > To repeat: > > "I know that I could do <Cfloop query="session.cache_query">, but then the > Google "q" query wouldn't work. I really want to be able to reference either > the cached query or the runtime query by the same variable name, "q". " > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228467 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

