Re: SessionComponent not always available

2010-12-06 Thread Ryan Schmidt
On Dec 6, 2010, at 14:15, Miles J wrote: > 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. But I created my app_controller.php by copying theirs, from cake/libs/controller/

Re: SessionComponent not always available

2010-12-06 Thread Miles J
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 wrote: > On Dec 6, 2010, at 08:57, McBuck DGAF wrote: > > > What version are you using? > > > My

Re: SessionComponent not always available

2010-12-06 Thread Ryan Schmidt
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

Re: SessionComponent not always available

2010-12-06 Thread Tilen Majerle
http://book.cakephp.org/view/1564/Controller-Components on this link, in yellow you can see this: SessionComponent and SessionHelper are not automatically loaded. you need to add them in app_controller.php -- Tilen Majerle http://majerle.eu 2010/12/6 McBuck DGAF > What version are you using?

Re: SessionComponent not always available

2010-12-06 Thread McBuck DGAF
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. On Dec 5, 10:16 pm, Ryan Schmidt wrote: > Answering my own question: >

Re: SessionComponent not always available

2010-12-05 Thread Ryan Schmidt
Answering my own question: On Dec 5, 2010, at 21:08, Ryan Schmidt wrote: > The documentation for $components says: > > > http://book.cakephp.org/view/961/components-helpers-and-uses > > "The Html, Form, and Session Helpers are always available by default, as is > the SessionComponent" however

SessionComponent not always available

2010-12-05 Thread Ryan Schmidt
I had been using the default app controller, and now, following the examples in the Authentication section of the book... http://book.cakephp.org/view/1250/Authentication ...I added an app_controller.php to my project and put this into it: http://book.cakephp.org/view/961/components-helpers-an