Hi everyone,

I'm having problems... and I'm hoping that with the meeting of minds
we have going on here, someone can point out where I'm going wrong.

I'm using 1.2 to build several sites at the moment - it's definitely
my framework of choice, for pretty much every site I build, personal
and for work. The majority of these sites have a common need - they
need to enable users to login.

To achieve this I'm using the AuthComponent (it's the natural choice)
- and I can get basic login working, some of the time. I must be
having blank spots though, because for the life of me, even with Chris
Hartjes' handy tutorials, and Geoff's previous ones on Lemoncake, I
can't proceed beyond very basic.

I'm trying to implement a remember me function - I initially thought
Chris' most recent post on the subject would help me out, but perhaps
I'm just not understanding how the pieces fit together.

My understanding of the usual way a remember me system works is that,
if the user is not already logged in, the system should look for a
cookie. If the cookie is found, it should validate the details and, if
valid, log the user into the site. This should be checked for on every
page load, whether authentication is required for that page or not. If
the cookie is invalid, it should naturally be deleted - no point
keeping it around.

Where I come up short is getting Cake and the AuthComponent to work
together with this. I can probably figure it out myself, with time -
but a simple description of exactly what I'm doing would be extremely
helpful.

Thanks everyone in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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