besides the point that this is not quite possible to do this way (even serializing will probably break the url!) this approach is not very beautiful, of course.
i recommend that you take a look at the search or filter plugin (search plugin is from cake dc in github) it is very sophisticated and will help you setting up a solid search functionality which is also future proof and only needs some configuration. Otherwise you will either have to use the session or you will have to pass the pieces you are searching for in the url, not the results! the results should probably never be part of the url. On 17 Nov., 11:35, Jeremy Burns | Class Outfit <[email protected]> wrote: > Even more sensible... > > Jeremy Burns > Class Outfit > > http://www.classoutfit.com > > On 17 Nov 2011, at 10:32, phpMagpie wrote: > > > > > > > > > Jeremy is right, redirect sends a new request to the url you specified i.e. > > /motor_developments/search/$studentInfo and as $studentInfo is an array you > > cannot do this. > > > How about just passing the Student.id and doing the Student->find() in the > > redirected controller? > > > HTH, Paul. > > > -- > > Our newest site for the community: CakePHP Video > > Tutorialshttp://tv.cakephp.org > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > > [email protected] For more options, visit this group > > athttp://groups.google.com/group/cake-php -- 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
