I am attempting to do the tutorial at:

http://www.littlehart.net/atthekeyboard/2007/09/11/a-hopefully-useful-tutorial-for-using-cakephps-auth-component/

but when I attempt to login, the page just reloads. I suspected that
the problem was with:


if ($this->Auth->user()) {


So I made a small bit of code to test this.


function login() {

if ($this->Auth->user()) {

echo "working so far";

}
else { echo "not working at all"; }

}

the page always returns "not working at all". Am I doing something
wrong with this tutorial? Is there another way I should be going about
this? Thank you as always for the help.



    }

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