Forum Moderators: coopster
I would like to provide a "Search within results" feature on my site; however I am
a little worried about the overhead it may cause.
You could also create a temporary table for the results, and drop it after a certain period of time (e.g. 1 hour).
You'd need some way to map to this table though - again perhaps a session/cookie/hidden field somewhere.
The second would probably create less overhead, but you'd have to put some housekeeping into your code.
JP
Where's the overhead?
If its a common query where the results don't change that often then you can do a query on the table to see if new data was added.
If not, switch out the query and simply enter the data set that is already stored otherwise allow the query to run as normal.
HTH
Aaron