<cfset tmp = structNew()>
<cfset tmp ["expiration"] = CreateTimeSpan(0,0,5,0)>
<cfset tmp ["variableName"] = variableName>
<cfset ArrayAppend(application.cachedQueries, tmp)>
I keep getting an error when I try to dump application.cachedQueries that its not defined.
I tried the below code, it works, but no matter what the search terms are, I only see the results from the first search. For all consequent searches, the results displayed are the same as the first search.
<cfif NOT IsDefined('application.searchresults')>
<cfquery name="application.searchresults" datasource="#request.dbName#">
EXEC iSearch blah blah
</cfquery>
<cfoutput query='application.searchresults'>
blah blah
</cfoutput>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

