[eluser]ejangi[/eluser]
You could have the search terms be passed via POST and as a URL segment. For instance:
Code:
http://mydomain.com/search/my+search+terms
And in your controller do something to the effect of:
Code:
$search_terms = '';
if (!($search_terms = $this->url->segment(2))) {
$search_terms = $this->input->post('keywords');
}
// ... do actual search code here
That way you can simply grab the search terms again and create the "Back to results link".