Re: session not saved in app controller

2011-03-14 Thread Shinya Koizumi
Thanks beforeRender worked. Like you said maybe i was misunderstanding the use of afterFilter. On Mon, Mar 14, 2011 at 12:09 AM, hunny wrote: > Not sure about the afterFilter function. Are you sure this is being > invoked automatically? > Otherwise you can probably right the same logic in before

Re: session not saved in app controller

2011-03-14 Thread hunny
Not sure about the afterFilter function. Are you sure this is being invoked automatically? Otherwise you can probably right the same logic in beforeRender Function. On Mar 14, 6:51 am, cake-learner wrote: > I set up my app object in both beforeFilter and afterFilter callback > functions > > class

session not saved in app controller

2011-03-13 Thread cake-learner
I set up my app object in both beforeFilter and afterFilter callback functions class AppController extends Controller{ var $myAppObj; var $components = array("Site" , "Notification", "Auth", "Mailer", "Session"); function beforeFilter(){ $this -> myAppObj = unserailize( $this ->