I solved the problem, after nearly one week work!! It´s only because cake seems to be case sensitive (my root-directory was "cakeTest" - the url I used: localhost/caketest/... - everything worked fine only Session not). Now I changed name of rootdir to "caketest" and now it works.
Very funny because I´m working on Win, which is not case sensitive. But now I´m happy. On 25 Dez., 22:18, GetIT <[email protected]> wrote: > 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 [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 -~----------~----~----~----~------~----~------~--~---
