Retain Query Resultset while paging
i have query brings thouands of records. in order not impact performance of display , paging, best way without using query caching? possible keep recordset first time query , using while paging?
sure, record set variable returned <cfquery...> block no different other variable. possible store variable in shared scope such session, applicaiton or server. long scope accepts complex variables such three. aware of how large record set , how many times may copied shared scope. possible full one's server's memory overly large record sets hang around long after being done.
but code simple this.
<cfquery name="application.myquery"...>
<cfoutput query="application.myquery"...>
More discussions in Database Access
adobe
Comments
Post a Comment