But as I mentioned im using AJAX for forms so security component is of no
use to me since its des not wrk with AJAX.

That's why I was wondering.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of harake
Sent: February-21-10 6:05 PM
To: CakePHP
Subject: Re: isPost isGet Security questions

Just make sure that you are using the security component and that your forms
uses the POST method.
everything will be handled automatically.
as for using the $this->RequestHandler->isGet(), $this->RequestHandler-
>isPost(), or $this->RequestHandler->isAjax()... I do not use them
because I do not rely on data coming from the client.

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 
cake-php+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

Reply via email to