First http://book.cakephp.org/view/172/Authentication has the perfect
example of how to just get login working, though I think you were
saying you have that working.

Next, use the session component instead of interacting with php build
in session functions this allows everything to stay in cakephp scope
essentially and it is easier to work with because it does all the
session stuff for you.

Also, you can modify cakephp to use a database to store sessions
instead of cookies, change this in config/core.php

Finally, stop modifying the cakephp core, its not going to get you
anywhere, read the book.cakephp.org.

-Erik

On Feb 4, 1:05 am, Rimoe <[email protected]> wrote:
> Yes, when login , I have no use the Auth->login(),but when add user, i must
> use the Auth->login(),
>
> my php version is php4.3
>  when I set ['session.use_cookies', 0 ] in session.php,
>
> I can't log in.
>
> Thanks for your answer.
> by the way, dou you know why is it I can't change the value of
>  session.use_cookies
>
> Thanks
>
> 2009/2/4 Miles J <[email protected]>
>
>
>
>
>
> > You do not use Auth->login(), its automatic.
>
> >http://www.milesj.me/blog/read/5/using-cakephps-auth-component- Hide quoted 
> >text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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