sorry man but who told you that security component and AJAX do not work?
On Nov 8, 10:18 pm, "Dave Maharaj" <m...@davemaharaj.com> 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 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