Hi, I´m having big trouble with a session.
I´m calling the same action two, ore more times without doing anything other (calling another action or so). This is my action [code] function admin_index($id = null) { $notepad = $this->Session->read("notepad"); $notepad[] = $id; $this->Session->write("notepad", $id); $this->set("sessionVar", $this->Session->read("notepad")); } [/code] The output from admin_index.ctp everytime is simply the $id I use with the call. But everytime I call the action, I only receive one number not the numbers inserted before. Can anyone help me? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en -~----------~----~----~----~------~----~------~--~---