I am trying to follow the CakePHP Manual and use requireAuth and
requirePost.

I have a Login page consisting of login.thtml template and a login()
action located in users_controller.php.

When the user submits the login form and login() determines that the
submission is valid, I want to redirect to an Index page.

To do this I need to call,the index() action and provide it with the
data it needs by POST.  It needs the authentication key of course and
I also want to pass $user_id.

I have NO idea how to do this.  The only reasonable way to POST data
is by a form.  But I don't have a form.  I'm in the middle of the
login() php action.  How am I supposed to be doing this?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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