Hi, I'm considering using GWT for my UI with my existing cakephp backend. To communicate with the server I encode all my post variables into one JSON variable and perform an asynchronous post. I would then like cakephp to decode the JSON and assign it to $_POST before it does anything else. This way as far as cakephp is concerned the $_POST data came from a form submitted in a typical fashion.
Do I have to do this manually? ie: 1) In beforefilter read that one post variable, decoded the JSON. 2) sanitize the new variables one by one. 3) assign them to the $data variable. Anyone have any other ideas to make this as painless as possible? -Raf --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
