ByteArrays are very sensitive. One byte off and the whole thing falls a
part. Your ZendAMF version is very old when then latest is 1.9.x. I
would upgrade that first.
John
[email protected]
Jason Vanhoy wrote:
Has anyone run into a strange issue using ZendAMF, sending an object which
contains a parameter of type ByteArray? I'm doing so, and occasionally find
that somewhere between the Flash player and the PHP server the byteArray
parameter appears where a string value once was. That is, if the object
contains parameters "name" (type String) and "bytes" (type ByteArray) and
the values of those parameters are "myName" and "[some hex characters]",
then they would (perhaps) show up in the PHP code with the hex characters in
the "name" parameter AND the "bytes" parameter. (The "myName" value appears
to have been abducted by aliens in these cases).
My Zend version is somewhat old (1.5.something) which I realize could cause
issues. I could understand if an error was generated or the server just
simply puked all over my request, but the request is accepted and
successfully processed, it just seems to have some kind of alzheimers or
something. Other times (with no discernible pattern) these parameters
traverse the wire just fine. In fact, sending multiple objects will
normally show some objects transferring fine, while at least one is
incorrect.
I've checked that the objects on both sides of the divide are constructed
the same way, even with parameters in the same order and everything.
I'll buy a Snicker's bar for anyone with some insight...
Thanks,
Jason
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the
subject line
For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------