its

var $components = array('Session');

and everything works fine (cake1.3)


On 10 Jun., 17:27, emanuele <[email protected]> wrote:
> For instance:
>
> class AppController extends Controller {
> var $components = array('Cookie', 'Email');
> ...
>
> }
>
> class DummiesController extends AppController {
> var $components = 'Session';
>
> function beforeFilter() {
>          parent::beforeFilter();
>
> }
>
> ....
>
> }
>
> On Thu, Jun 10, 2010 at 5:22 PM, John Andersen <[email protected]>wrote:
>
>
>
> > Please show the code on how you define the components in both the
> > AppController and in a Controller in which you have this issue!
> > Enjoy,
> >   John
>
> > On Jun 10, 4:55 pm, emanuele <[email protected]> wrote:
> > > yes It is. But I dunno why the behaviour is different. In my app it's
> > like
> > > the override of components happens and
> > > only the 'local' components it is available. What's do u think about?
>
> > > thanks in advance.
>
> > [snip]
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<cake-php%[email protected]>For
> >  more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en
>
> --
> Emanuele Gringeri
> Computer Engineer
> University of Pisa
> Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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

Reply via email to