On Wed, Sep 8, 2010 at 5:29 AM, Tomfox Wiranata
<[email protected]> wrote:
> what if he cancels the process? then i'd have to delete it from the
> database....
>
> its a little like ebay when you create product sites.....until the
> user saves it i am storing everything temporarily in my session....so
> you think saving it in my database makes sense?

If the user has already uploaded the file(s), yes. The intention is
clear, don't you think?

I guess it depends on how you have the process laid out. Are the files
being uploaded in the background (faking AJAX by posting to an
iframe)? If that's the case, and the files are uploaded before the
user completes a larger submission, then yes, I see your problem.
Perhaps you could create a mirror table to store the upload info into
and have the model use both.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to