No one specific. Just google it and found blackholes request (I call that not working) or use $this->Security->validatePost = false; which tells security not to validate which also means its not working (do nothing)
Maybe for certain actions? I don’t know...im just trying to see what will and will not work. Im simply sending forms ajax with jquery.form pluging All my stuff works that’s why im wondering. -----Original Message----- From: robust solution [mailto:[email protected]] Sent: November-09-10 4:36 AM To: CakePHP Subject: Re: Security Component sorry man but who told you that security component and AJAX do not work? On Nov 8, 10:18 pm, "Dave Maharaj" <[email protected]> wrote: > Ok from what I have read using Security Component with AJAX request will not > work. > > So I never added it to my app_controller, then today I decided lets see what > happens so sure enough my forms all get the security div > > <div style="display: none;"><input type="hidden" value="POST" > name="_method"><input type="hidden" id="Token1607686768" > value="6ed5415b7526befab1ec093cac8ccd45255daba7" > name="data[_Token][key]"></div> > > Now just for fun I tested my forms that use ajax and they all submit fine. > > So what I was reading saying it will not work are they saying it will not > work as in the security feature will not work (it wont secure the forms) or > it will not work as in your forms will never submit? > > Dave 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 [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 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 [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
