I generally do what Martin suggests - with a redirect.

However, you can speed up the process (for the user, not the
developer!) like this:

* Add an .htaccess rewrite rule to rewrite the url before it even hits
cake. This is much faster that redirecting from a cakephp controller
action.

* With unobtrusive javascript, intercept the form submission/link
click and alter the url on-the-fly. For javascript users this means no
server redirect and faster response times.

hth
grigri

On Feb 11, 8:40 am, Miles J <mileswjohn...@gmail.com> wrote:
> So I have a search/browse system thats plugged into pagination.
> Everything works fine as a $_POST, the data is returned and paginated
> BUT the second I resort the results using the pagination, I lose all
> the search queries/terms.
>
> How can I turn $_GET or $_POST into named params so that they are
> continually passed to pagination?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to