Max char out of flash
- Started
- Last post
- 6 Responses
- System-Idle
Does anyone know what the max amount of data you can send out of flash to a backend script?
I have tried sending name value pairs out of flash using loadVariables, .send, .sendAndLoad with POST but can only get a max of 2000 chars out.
I think that although im using POST flash stills sends it as GET.
been looking all day for a solution, any ideas
- unfittoprint0
it actually soesn't depend on flash. What you're sending it's a URL string that has indeed certain limit defined by the browser.
'current versions of IE have a url limit of 2083 characters after the path. (Not likely that your URLs are that long but with what you're doing, who knows?) Other browsers and older IE can have a limit of 1024 characters. It's the same reason you can't pass long form data through a URL.'
- System-Idle0
thanks unfittoprint
do you know if there is any other way of send out the data from flash?
would the xml object also have the same restrictions
- System-Idle0
sorry, i didnt make that very clear.
i know that the data is being sent out as a url, but is there another way to send the data from flash to get aroung the url length restrictions of the browser/s?
- unfittoprint0
you could try using the XML object, more specifically the send method.
http://www.macromedia.com/suppor…
http://www.kirupa.com/web/xml/XM…
- mirola0
or flash remoting. not sure how limited the output is but i've passed some very large objects with it, ooh err missus.
- System-Idle0
thanks for the posts
considered amfphp at the start of the project but at the time was not supported by macromedia.
will look into xml and amf for next projects. For now Im going to try and cut the amount of data sent in one go