Well, it's not obvious what really changes things here... You could try
to pr($data); if there's something wrong inside your result (but you
should've noticed that in your view, hmm :))... Probably Session::write
returns true or false, depending on the sucess of writing. You could
try:
if ($this->Session->write(...)) {
echo 'Works fine. ID: ' . $id;
}
Debunng 3 lines of code isn't easy :)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---