Hi Peter, I've seen both of these posts, and I've implemented the middleware solution...ironically...i have no problem uploading to the server hosting the web-app...but the problem appears when writing the file to the storage server which is auto-linked through nfs...it works fine for smaller files, but when i tried to write a 12MB file it fails..is there a separate session being established by the storage server or is there a session i can get from the server running the web-app in this situation (prolonged file transfer).
thanks again percy Peter De Berdt wrote: > On 26 Jul 2009, at 10:15, Josh wrote: > >> I'm not sure if this is what you are looking for, but the session >> cookies don't get sent by flex/flash when you upload a file. I had to >> make a request before the file upload to get a unique upload id, store >> it the database and return it to flex. Then when I acually send up the >> file I tag it in the params of the upload. >> >> I'm interested to know if anyone came up with a other workarounds for >> the problem? > > > For more recent versions of Rails (afaik 2.3 or higher): > http://thewebfellas.com/blog/2008/12/22/flash-uploaders-rails-cookie-based-sessions-and-csrf-rack-middleware-to-the-rescue > > If you're using an older Rails version, you can check out a post I > made quite a while ago: > http://www.ruby-forum.com/topic/161291 > > > Best regards > > Peter De Berdt -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

