I'm php/cakephp newcomer and my question is - is there a way to preserve form data (that is not saved in model) after you sort your data using paginator::sort? Obviously, when you click on paginator sort link you go to different URL, so _posted data vanishes. To give you a picture what I have in my code - there is single form, with range slider in it and checkboxes set.
This works for me when I needed to share posted data between different actions in a controller. In the controller class I add this bit of code to the beginning of each action:
// retrieve or save search data
if(!empty($this->data))
$this->Session->write('SearchData', $this->data);
else
$this->data = $this->Session->read('SearchData');