I'll give this a shot. Thank you so much!!! On Apr 11, 10:54 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > In PHP5 you can serialize() and unserialize() any type-set except > references. In this case I would assume a string. > By serializing the string and assigning it to the session array, you > can easily pass the protected string value from controller to > controller. > In step 5, retrieving the serialized session value would look > something like this... > > $serialStr = $this->Session->read('serialVar'); > $unserialStr = unserialize($serialStr); > $this->userAdminModel->save($unserialStr); > > So instead of using a tempTable, you can rely more on the > SessionHelper to control your ultimate value(s). > > On Apr 11, 1:13 pm, "uolax" <[EMAIL PROTECTED]> wrote: > > > Hello, > > > Please forgive me if this is a newbie question. > > > I have a temporary table and a permanant table.....each with their > > respective models. > > I have 2 users: userNormal and userAdmin. > > > 1. A form posts data to the temporary table from userNormal. > > 2. A notice/email/flag is sent to userAdmin. > > 3. userAdmin then approves or denies the data from the temporary > > table. > > 4. If it is denied it is erased from the temporary table. > > 5. If it is approved the data is moved from the temporary table to the > > permanant table. > > > Is using the $use command to bring in the other model the best way to > > complete step 5 ? I was thinking about passing the data via > > Post....but that seems a little insecure to me as anyone can change > > the Name/Value pairs. > > > Any help would be greatly appreciated. > > > Thanks, > > Jason
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---