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

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support