Flash player IE7 BitmapData send to server with amfphp
-
06-07-2019 - |
Question
Does anybody experienced this kind of fault.
So i have some kind of imageuploader.
It fetches an image, grabs the bitmap data from it. convert that with a jpgencoder to a bytearray, send that bytearray to a server with amfphp and in php save that as a jpg on the server.
So this works great in FF, Chrome, Safari, Opera ( Mac & Windows ) But when i try it on IE7. It works for the first time but when i try it another time it seems to send the first picture(bytearray) back to the server. (if i compare the bytearray code that charles catches up)
anybody experienced this kind of bug? problem? is there a solution for this ?
Solution
So i figured it out. IE7 caching problem.
?Math.random();
does a lot :)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow