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?

On Jul 25, 4:00 pm, Percy Klaasch <[email protected]>
wrote:
> Hello,
>
> my scenario is that i'm using Flex to upload to a remote server. there
> are two servers involved..one that runs the web app and one that only
> stores the file.  everytime i do this i get an io error...once, i hit
> the upload button again and it actually did the upload so i decided to
> write the code to do the upload twice (awful hack i know) which works
> only for smaller files.  Larger files appear as though the upload is
> happening but still zero length...everything appears to be happening but
> the actual writing of the file...i think this is related to sessions but
> have no way to know for sure what's happening...is there a way to
> increase the time a session is established?
>
> thanks much
> --
> Posted viahttp://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to