I believe the core "Controller" class had the session removed, but the
AppController within cake still has the Session. You overwrote their
AppController so it reset.

On Dec 6, 11:58 am, Ryan Schmidt <[email protected]> wrote:
> On Dec 6, 2010, at 08:57, McBuck DGAF wrote:
>
> > What version are you using?
>
> > My understanding was that SessionComponent and SessionHelper no longer
> > autoloaded in 1.3:
>
> >http://book.cakephp.org/view/1564/Controller-Components
>
> > It appears that the documentation is conflicting.
>
> Sorry, I should have mentioned I am using CakePHP 1.3.6.
>
> On Dec 6, 2010, at 09:04, Tilen Majerle wrote:
>
> >http://book.cakephp.org/view/1564/Controller-Componentson this link, in 
> >yellow you can see this:
>
> > SessionComponent and SessionHelper are not automatically loaded.
>
> > you need to add them in app_controller.php
>
> Thanks, both of you, for the pointer to the "Migrating to 1.3" section; it 
> would not have occurred to me to look there since I'm not migrating; I'm 
> learning CakePHP for the first time using version 1.3.6.
>
> Also, I assure you SessionComponent was there and working fine, until I added 
> my own AppController with the line "var $components = array('Auth');". When I 
> did not have my own definition of $components, SessionComponent was loaded 
> for me automatically. So the statement in the documentation above does not 
> appear to be totally accurate.
>
> Perhaps I would have a better appreciation and understanding for the 
> statement if I had used CakePHP 1.2.x and could now see how 1.3.x differs, 
> but since I'm new to CakePHP, I cannot.

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