phpactionscript-3flashzend-frameworkzend-amf

ZendAMF - function calls in quick succession fail


I'm implementing AMF service methods for an flash front-end. Normally things work fine, but we've found that if two methods are called one right after the other, the second call returns null to the flash front-end even though the method actually completes successfully on the PHP end (to verify this, I dump the return data to a file right before I return it).

Has anyone had this behavior before? Is it some setting with ZendAMF?


Solution

  • It actually turns out the flash side was using the same connection for two function calls. Making separate connections for each call has solved the problem.