Assuming you control the form that is used to submit the search parameters, you can simply grab the contents of the search field(s) (before or after you have completed your search – or as Dan pointed out, you could spin that process off into a cfthread
to be done concurrently) and store that information however you see fit.