Thanks jeremy, it is working now.

On Jul 9, 1:28 pm, Jeremy Burns | Class Outfit
<jeremybu...@classoutfit.com> wrote:
> If you are on 1.3, don't forget to add the Session helper and Session 
> component to your app_controller.
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> On 9 Jul 2010, at 20:51, gautam lakum wrote:
>
>
>
> > I am getting this error in my default.ctp layout.
>
> > Notice (8): Undefined variable: session [APP\views\layouts
> > \default.ctp, line 74]
> > Code | Context
>
> > Fatal error: Call to a member function flash() on a non-object in C:
> > \wamp\www\rentcar1\app\views\layouts\default.ctp on line 74
>
> > This is the layout html I have written.
>
> > <div class="span-24 last" style="width:100%;text-
> > align:right;background:#F18235;color:#ffffff;">
> > <?php $session->flash(); ?>
>
> > Please help. I am not getting what is happening there?
>
> > 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 cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> > athttp://groups.google.com/group/cake-php?hl=en

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to