On Nov 5, 8:35 pm, BobDev <[EMAIL PROTECTED]> wrote:
> I have my cakePHP application running it can access the database and
> everything.
>
> I want a simple non-table based login. So I have a simple non-cake
> form to accept a username/password. After I check the u/p for
> validity, I want to add it to the $_SESSION. However, when I do a
> var_dump($_SESSION) on this page the _SESSION is always NULL. I go
> ahead and add it - it now shows up in the _SESSION.
>
> But, when I am in my CakePHP views and I check to see if I am logged
> it, it always fails because the _SESSION value I added to is not the
> _SESSION used by cakePHP.
>
> When I go back to the login page, the _SESSION is null again.
>
> Thanks for your help,
>
> Bob
Why are you writng a login form for a cake application (is that
right?) outside of cake?
That´s likely to bite you in the future.
AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---