*Sigh*,

So I've been pulling out my hair for a while until I figured, this thing
just doesn't work the way it should.

Here's my scenario very simplified with test data:

Controller1:

$arr['name']['1'] = '21';
$arr['name']['2'] = '21';
$arr['name1']['1'] = '21';
$this->Cookie->write('zilla', $arr, false);
$this->log('What\'s my cooking');
$this->log($this->Cookie->read('zilla'));

Output:

(
    [name] => Array
        (
            [1] => 21
            [2] => 21
        )

    [name1] => Array
        (
            [1] => 21
        )

)

Controller 2:

$this->log('What\'s my cooking');
$this->log($this->Cookie->read('zilla'));

Output:
(
    [name] => Array
    [name1] => Array
)

It basically eats up the second dimension on an array.
Any ideas?

--~--~---------~--~----~------------~-------~--~----~
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