> From: cake-php@googlegroups.com 
>     function memberLoggedIn()
>     {
>         if ($this->Session->check('memberLoggedIn'))
>         {
>             $member_session = $this->Session->read('memberLoggedIn');
>             if($member =
> $this->requestAction('/members/getMember/'.$member_session['id'])) {
>                $this->set('member', $member);
>             }
>             else $this->Session->delete('memberLoggedIn');
>         }
>     }
> 
> This function is called on every page using the beforeFilter.

I suspect that "requestAction" is the source of your problems, then, since
beforeFilter will also be called on "requestAction" 

The simple way around this would be to check if the action on
members_controller is "getMember", and if so exiting beforeFilter

--
Regards,
Ryan Ginstrom


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to