ich kenne das mit der Session aus Symfony so.
- Code: Alles auswählen
$this->getUser()->setAttribute('mySession', "one");
$this->getUser()->setAttribute('mySession', "two");
in Cake habe ich jetzt mal folgendes probiert
allerdings bekomme ich als Ausgabe -> two . sollte aber doch one, two bekommen?
- Code: Alles auswählen
$this->Session->write("Warenkorb","one");
$this->Session->write("Warenkorb","two");
print_r($this->Session->read());