Below is the dump from debug that shows that it is returning successfully, however it dumps html code:
SWF DEBUG: Global Post Item: CSR_TO_ATTACH=1904,ASPSESSID=jmvoqt2ncwnq2i45zyzi3a55,AUTHID=150EE0CDB041FE55F32B1E5D53BCB81DFCA4608F685DB9E82DA521C1C0225DCF01202B0B9EF101546D4AEF7CBCEDC19F6AD9A58C8223B78D265E2650F914F3CE7EC44EA19DE37B91AD5D260AD8A743B8=undefined
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload. Starting upload to /TestVersion/upload.aspx for File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 32768. Total: 367686
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 367686. Total: 367686
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Response Received: true Data:
SWF DEBUG:
SWF DEBUG:
etc.
etc.
I have implemented the requested changes in the Global .asax, however I decided to implement them in a HTTPModule instead. Works great in my test environment, but not on the production server.
You can see that I am posting the session goods, however it still chokes.
Any ideas, recommendations?
P
February 5, 2010 - 12:55pm
IE uses a different version of Flash than other browsers. So the fact that it works in IE and not the others suggests a Flash Player issue.
Try the following:
1. Make sure your upload_url is not relative.
2. IE Flash Player does send the correct cookies. Other Flash Player (FF, Ch, Saf, Op) send the IE cookies (if they already exist from an IE session). Triple check that your HTTPHandle is ignoring any possible cookies and not just using the manually posted values only if the cookies are missing (since the cookies won't be missing, the server will get the IE cookies).
3. Do a packet capture and compare IE's output to FF. Make sure everything looks right (URLs, cookies, posted values, etc).
February 5, 2010 - 2:56pm
I made sure that the URL is not relative. One thing that I noticed when I debug this thing, the handler, does not pick up on the event from flash posting the parms.
Can you recommend a packet sniffer and any suggestions on how to use it?
February 8, 2010 - 11:46am
Figured out what I did wrong.
I was trying to use 'addPostParam' and passing in the string as it would be defined when setting up the upload initially, rather than adding each Parm-Value pair individually.
After looping through the ajax call, and adding the Parm-Value pairs in a for loop, everything works just like a charm!
Brilliant job on this tool!
Peace,
P