Thanks uic, I'll give that a shot this afternoon and let you know what
I find out.
i would try to check at some point in the component what part of the
process is failing.
first i would try to print session variables after connecting to the
database in login function :
$this->Session->write($this->sesskey, $sessdata);
//---> just here, before it returs true and try to redirect try to
print_r($_SESSION);exit;
//if the model connected correctly to the database amd took
everything,
//the function should have stored everything in the session
variables.
return true;
if you can see the user group...the user is authenticated and stored in
your session what comes after is the reload action in the users
controller, you can try also there before redirecting to
print_r($_SESSION);exit; to check if the data still there in your
session..if it does then you have the same problem i run into this
morning...the session data is lost after this redirect..and im still
trying to solve this...maybe we can find something :)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---