Since you are using Security Component, then why not restrict your
forms to POST only. Moreover, I agree with Grant Cox, that you should
have one action, not multiple actions for doing the same thing! This
is just duplication of code and gets messy eventually!

Also, why would you need GET in case where you are having POST forms?
Make it consistent and this will help you in long run.

For eg:

example.com/user/edit/11 -> Uses GET (Doing so you will have Get and
Post, both going into edit action).

example.com/user/list -> Have a link here that POSTS the user_id to
edit action! (This will keep things consistent and use POST only)

If I m missing something, then pls do point it out!

Ketan :-)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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