Depends on what you want to achieve exactely. If you just want to redirect your users I guess you would have to use the 'this->redirect($path/$params)' cakephp builtin function. Just after the login, you have to know which user is CD and which is Book, right? What is the name of your user's model? You have a field telling you if the user's usergroup is CD or Book right? If so use that field to decide which value of the $path variable to use. If the user id is needed you should be able to get it in the login process. If you did, for example, " $result = $this->User- >findByUsername($this->data['User']['username']);", then the $ret variable contains your users info. At any rate, can show me a code snippet of what you are trying to achieve?
On Sep 17, 1:37 pm, Gummie <[EMAIL PROTECTED]> wrote: > I am having trouble figuring out a way to redirect a user to a (group) > specific page after logging on. > > The idea is to send 'book' users to the book view and send 'CD' users > to the cd view. > Book and CD are usergroups. > > Any help would be very much appreciated! > > Using: cake 1.1.17 on LAMP --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---