Actually, I am already storing it in a session.  I am using the
following code for session storage:

if (isset($this->data['save']))
{
  $this->Company->set($this->data);

  $_SESSION['company'] = $this->Company;

}

So, the problem still comes down to overwriting the contents of the
first form submission with the input from the second form submission.
I guess I can use the storeData() method mentioned above to store the
data in individual objects for each step of the wizard.  However, this
means that I will have to combine these objects together to form a
correctly formatted $data object if I want to enable automatic storage
to the database with the save() command, which is fine by me, but I was
just wondering if there was a cleaner way of doing this in CakePHP.

Thanks for the suggestions.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to