Tuesday, July 12, 2011

Re: login and registration form is not working on same page

Hi Dinesh,

I guess it would be a lot clearer if your Login form posted to your login action (like users/login), and you should leave your Registration form to post back to its own action (members/new_user). In that way, you wouldn't have to worry getting your login and registration code mixed-up.

You might even want to use AuthComponent's automagic login functionality to help lessen your coding. :)

Cheers,
OJ

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate