Why not just make the search form GET in the first place? On Jun 8, 2011, at 01:00, Walther wrote:
> What you want is a PRG (Post/Redirect/Get) pattern. Basically the user > POSTs the search form, your script redirects the user back to the > referrer page, but with a new GET parameter set to their search > parameter. > > Take a look at the CakeDC Search plugin (https://github.com/cakedc/ > search) it includes all the functionality you want (plus more), is > free and is amazingly versatile. > > On Jun 7, 9:37 am, byqsri <[email protected]> wrote: >> Hi >> I have a search box ( a form with some parameters). >> To show the results of the search I use the paginator helper. >> Now my problem is the if I click on "Next" link I lost the parameters >> search . >> How can I do to keep the parameters search?How can I do a pagination >> with POST parameters? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
