Hi,

You need to look into the Auth component, validation has nothing to do with it.

Validation is about accepting data for save in the database
Authenthication is about finding out who the user is
Authorization is about telling what actions may be executed.

So you want authentication and authorization. Check out the Auth component.

Read about it in the auth component tutorial at:

http://www.jbcrawford.net/archives/45

Regards,

Maurits

On 09/06/2010 11:48 AM, amin wrote:
Hi,

Can u plz help me out, how to call validation for multiple actions of
a controller

E.g. a user controller, in user controller add, signup, forgot
password .. etc are actions

now in model class User extends AppModel{

}

how to validate mentioned actions validation in User model ????

I have tried $validate method but it only allow for only one action

so plz help me out.

thnks in advance

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

Reply via email to