I'm building a CMS where I need to upload files. Since I can't upload files with ajax the other solution was flash.
Now the problem is that the CMS can be accessed only by logged in users, these details are saved into session. After logging in into the CMS and trying to upload the files with flash (SWFUpload), the files are not uploaded. Why? Because the browser and the flash don't share the same session. What I did is sent the session id and name as params with the flash and then in app_controller beforeFilter method I checked if was submitted with flash then started the session with the submitted id and name. This would be my only solution? The other problem was that if the cookie got lost somehow, the session still existed and the user could upload files. Any idea how to make this work? PS: sorry for my bad English --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---