Hi, in one my models I declare var $deletedEia = array();
later on, I add data to the array $this->deletedEia[] = array_pop($array); then I do want to save it to a session: CakeSession::write('deletedEia', $this->deletedEia); Strange enough, on every load of this function, the first array element gets overwritten and not as I expected it added. I was expecting, if I call 5 times this function (5 times page reload) this array would have 5 entries... But this is not the case, it has always only 1 entry at the time and I don't see why.... What could be the problem? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php