I use the Security component in a few controllers. I have had no
problems with any of these but one of my clients is not able to get a
particular controller to work. The same snippet is used in 4
controllers and the client has problems with only the
VolunteerInterest controller.

Here is my snippet:

var $components = array('Security', 'Recaptcha');

function beforeFilter() {
        $this->Security->requirePost('add');
        $this->Security->requireAuth('add');

        $this->set('opt_programs', $this->opt_programs);
        $this->set('opt_counties', $this->opt_counties);
}

For the VolunteerInterest component, if I set either requirePost or
requireAuth it works. If I set both, it fails. The client uses IE6 if
that matters. I have not been able to duplicate the problem on my
version of IE6 though.

I appreciate any ideas.

Gary

--~--~---------~--~----~------------~-------~--~----~
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